13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

708 Introduction to <strong>SAS</strong>/<strong>ACCESS</strong> Interface to Oracle 4 Chapter 25Binary Data 735Oracle Null and Default Values 735LIBNAME Statement Data Conversions 735<strong>ACCESS</strong> Procedure Data Conversions 737DBLOAD Procedure Data Conversions 738Introduction to <strong>SAS</strong>/<strong>ACCESS</strong> Interface to OracleThis section describes <strong>SAS</strong>/<strong>ACCESS</strong> Interface to Oracle. For a list of <strong>SAS</strong>/<strong>ACCESS</strong>features that are available in this interface, see “<strong>SAS</strong>/<strong>ACCESS</strong> Interface to Oracle:Supported Features” on page 82.LIBNAME Statement Specifics <strong>for</strong> OracleOverviewThis section describes the LIBNAME statement that <strong>SAS</strong>/<strong>ACCESS</strong> Interface toOracle supports and includes examples. For details about this feature, see “Overview ofthe LIBNAME Statement <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong>” on page 87.Here is the LIBNAME statement syntax <strong>for</strong> accessing Oracle.LIBNAME libref oracle ;Argumentslibrefspecifies any <strong>SAS</strong> name that serves as an alias to associate <strong>SAS</strong> with a database,schema, server, or group of tables and views.oraclespecifies the <strong>SAS</strong>/<strong>ACCESS</strong> engine name <strong>for</strong> the Oracle interface.connection-optionsprovide connection in<strong>for</strong>mation and control how <strong>SAS</strong> manages the timing andconcurrence of the connection to the DBMS. Here is how these options are defined.USER=Oracle-user-namespecifies an optional Oracle user name. If the user name contains blanks ornational characters, enclose it in quotation marks. If you omit an Oracle username and password, the default Oracle user ID OPS$sysid is used, if it isenabled. USER= must be used with PASSWORD=.PASSWORD=Oracle-passwordspecifies an optional Oracle password that is associated with the Oracle username. If you omit PASSWORD=, the password <strong>for</strong> the default Oracle user IDOPS$sysid is used, if it is enabled. PASSWORD= must be used with USER=.PATH=Oracle-database-specificationspecifies the Oracle driver, node, and database. Aliases are required if youare using SQL*Net Version 2.0 or later. In some operating environments, you

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!