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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

422 SQLMAPPUTTO= System Option 4 Chapter 12run;<strong>SAS</strong> procedures generate SQL <strong>for</strong> in-database processing <strong>for</strong> all databases exceptDB2 in this example.options sqlgeneration=’’ ;options sqlgeneration=(DBMS EXCLUDEDB=’DB2’) ;proc options option=sqlgeneration ;run;In this example, in-database processing occurs only <strong>for</strong> Teradata, but <strong>SAS</strong> proceduresgenerate no SQL <strong>for</strong> in-database processing.options sqlgeneration=’’ ;options SQLGENERATION = (NONE DBMS=’Teradata’) ;proc options option=sqlgeneration ;run;In this next example, <strong>SAS</strong> procedures do not generate SQL <strong>for</strong> in-databaseprocessing even though in-database processing occurs only <strong>for</strong> Teradata.options sqlgeneration=’’ ;Options SQLGENERATION = (NONE DBMS=’Teradata’ EXCLUDEDB=’DB2’) ;proc options option=sqlgeneration ;run;For this example, PROC1 and PROC2 <strong>for</strong> Oracle do not support in-databaseprocessing, <strong>SAS</strong> procedures <strong>for</strong> Oracle that support in-database processing do notgenerate SQL <strong>for</strong> in-database processing, and in-database processing occurs only <strong>for</strong>Teradata.options sqlgeneration=’’ ;Options SQLGENERATION = (NONE EXCLUDEPROC="oracle=’proc1,proc2’"DBMS=’Teradata’ EXCLUDEDB=’ORACLE’) ;proc options option=sqlgeneration ;run;See Also“SQLGENERATION= LIBNAME Option” on page 190 (includes examples)Chapter 8, “Overview of In-Database Procedures,” on page 67SQLMAPPUTTO= System OptionSpecifies whether the PUT function is mapped to the <strong>SAS</strong>_PUT( ) function <strong>for</strong> a database, possiblealso where the <strong>SAS</strong>_PUT( ) function is mapped.Default value: <strong>SAS</strong>_PUTValid in: configuration file, <strong>SAS</strong> invocation, OPTIONS statementDBMS Support: Netezza, TeradataSyntaxSQLMAPPUTTO= NONE | <strong>SAS</strong>_PUT | (database.<strong>SAS</strong>_PUT)

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

Saved successfully!

Ooh no, something went wrong!