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.

908 View Descriptors 4 Appendix 1Figure 33.1Creating an Access Descriptor and View Descriptors <strong>for</strong> a DBMS TableDBMSTable or ViewAccessDescriptor FileView Descriptor Files. . .View DescriptorsYou use a view descriptor in a <strong>SAS</strong> program much as you would any <strong>SAS</strong> data set.For example, you can specify a view descriptor in the DATA= statement of a <strong>SAS</strong>procedure or in the SET statement of a DATA step.You can also use a view descriptor to copy DBMS data into a <strong>SAS</strong> data file, which iscalled extracting the data. When you need to use DBMS data in several procedures orDATA steps, you might use fewer resources by extracting the data into a <strong>SAS</strong> data fileinstead of repeatedly accessing the data directly.The <strong>SAS</strong>/<strong>ACCESS</strong> interface view engine usually tries to pass WHERE conditions tothe DBMS <strong>for</strong> processing. In most cases it is more efficient <strong>for</strong> a DBMS to processWHERE conditions than <strong>for</strong> <strong>SAS</strong> to do the processing.

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

Saved successfully!

Ooh no, something went wrong!