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.

Data Set Options <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 DBMAX_TEXT= Data Set Option 309ExampleIn this example, a table from an Oracle database and a table from a DB2 databaseare joined. DBMASTER= is set to YES to indicate that the Oracle table is the largertable. The DB2 table is the smaller table.libname mydblib oracle user=testuser /*database 1 */pw=testpass path=’myorapath’libname mydblib2 db2 user=testuser /*database 2 */pw=testpass path=’mydb2path’;proc sql;select * from mydblib.bigtab(dbmaster=yes), mydblib2.smalltabbigtab.x=smalltab.x;See Also“MULTI_DATASRC_OPT= LIBNAME Option” on page 160DBMAX_TEXT= Data Set OptionDetermines the length of any very long DBMS character data type that is read into <strong>SAS</strong> or writtenfrom <strong>SAS</strong> when you are using a <strong>SAS</strong>/<strong>ACCESS</strong> engine.Default value: 1024Valid in: DATA and PROC steps (when accessing DBMS data using <strong>SAS</strong>/<strong>ACCESS</strong>software)DBMS support: Aster nCluster, DB2 under UNIX and PC Hosts, Greenplum, HP Neoview,Microsoft SQL Server, MySQL, Netezza, ODBC, OLE DB, Oracle, Sybase, Sybase IQSyntaxDBMAX_TEXT=integerSyntax Descriptionintegeris a number between 1 and 32,767.

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

Saved successfully!

Ooh no, something went wrong!