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.

38 Temporary Table Support <strong>for</strong> <strong>SAS</strong>/<strong>ACCESS</strong> 4 Chapter 43 The database does not guarantee sort stability when you use PROC SORT. Sortstability means that the ordering of the observations in the BY statement isexactly the same every time the sort is run against static data. If you absolutelyrequire sort stability, you must place your database data into a <strong>SAS</strong> data set, andthen use PROC SORT.3 When you use PROC SORT, be aware that the sort rules <strong>for</strong> <strong>SAS</strong> and <strong>for</strong> yourDBMS might be different. Use the Base <strong>SAS</strong> system option SORTPGM to specifywhich rules (host, <strong>SAS</strong>, or DBMS) are applied:SORTPGM=BESTsorts data according to the DBMS sort rules, then the host sort rules, andthen the <strong>SAS</strong> sort rules. (Sorting uses the first available and pertinentsorting algorithm in this list.) This is the default.SORTPGM=HOSTsorts data according to host rules and then <strong>SAS</strong> rules. (Sorting uses the firstavailable and pertinent sorting algorithm in this list.)SORTPGM=<strong>SAS</strong>sorts data by <strong>SAS</strong> rules.Temporary Table Support <strong>for</strong> <strong>SAS</strong>/<strong>ACCESS</strong>OverviewDBMS temporary table support in <strong>SAS</strong> consists of the ability to retain DBMStemporary tables from one <strong>SAS</strong> step to the next. This ability is a result of establishinga <strong>SAS</strong> connection to the DBMS that persists across multiple <strong>SAS</strong> procedures and DATAsteps.Temporary table support is available <strong>for</strong> these DBMSs.3 Aster nCluster3 DB2 under UNIX and PC Hosts3 DB2 under z/OS3 Greenplum3 HP Neoview3 In<strong>for</strong>mix3 Netezza3 ODBC3 OLE DB3 Oracle3 Sybase3 Sybase IQ3 TeradataThe value of DBMS temporary table support in <strong>SAS</strong> is increased per<strong>for</strong>mancepotential. By pushing processing to the DBMS in certain situations, you can achieve anoverall per<strong>for</strong>mance gain. These processes provide a general outline of how to useDBMS temporary tables.

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

Saved successfully!

Ooh no, something went wrong!