Chapter Contents |
Previous |
Next |
SAS/ACCESS Software for Relational Databases: Reference |
For example, you can sort the observations in a normal SAS data set and store the output to another data set. However, in a relational DBMS, sorting data often has no effect on how it is stored. Because you cannot depend on your data to be sorted in the DBMS, you must sort the data at the time of query, by using an ORDER BY clause in PROC SQL, a BY statement in the DATA step, the SAS/ACCESS data set option DBCONDITION= described in this chapter, or by another method. When you sort DBMS data, the results might also vary, depending on whether your DBMS places data with NULL values (which are translated in SAS to missing values) at the beginning or end of the result set.
Usage of some functions might also vary. For example, the LIBNAME function can accept an optional SAS-data-library argument. When you use the LIBNAME function to assign or deassign a libref that refers to DBMS data, you omit this argument. For full details on how to use these functions, see the SAS Language Reference: Dictionary.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.