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.

Data Set Options <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 DB<strong>SAS</strong>LABEL= Data Set Option 313ExamplesIn this example, connection in<strong>for</strong>mation is specified in the <strong>ACCESS</strong> procedure. TheDBPROMPT= data set option defaults to NO during the PRINT procedure because it isnot specified.proc access dbms=oracle;create alib.mydesc.access;user=testuser;password=testpass;table=dept;create vlib.myview.view;select all;run;proc print data=vlib.myview;run;In the next example, the DBPROMPT window opens during connection to the DBMS.Values that were previously specified during the creation of MYVIEW are pulled intothe DBPROMPT window fields. You must edit or accept the connection in<strong>for</strong>mation inthe DBPROMPT window to proceed. The password value appears as a series ofasterisks; you can edit it.proc print data=vlib.myview(dbprompt=yes);run;See AlsoTo assign this option to a group of relational DBMS tables or views, see the“DBPROMPT= LIBNAME Option” on page 134.DB<strong>SAS</strong>LABEL= Data Set OptionSpecifies how the engine returns column labels.Default value: COMPATValid in: DATA and PROC steps (when accessing DBMS data using <strong>SAS</strong>/<strong>ACCESS</strong>software)DBMS support: DB2 under UNIX and PC Hosts, DB2 under z/OS, HP Neoview, In<strong>for</strong>mix,Microsoft SQL Server, MySQL, Netezza, ODBC, OLE DB, Oracle, Sybase, TeradataSyntaxDB<strong>SAS</strong>LABEL=COMPAT | NONE

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

Saved successfully!

Ooh no, something went wrong!