Use this option with
such procedures as PROC FREQ to indicate what SQL is generated for
in-database processing based on the type of subsetting that you need
and the
SAS/ACCESS engines that you want to access the source table.
You must specify NONE
(which indicates the primary state) and DBMS.
The maximum length of
the option value is 4096. Also, parentheses are required when this
option value contains multiple keywords.
Not all procedures support
SQL generation for in-database processing for every engine type.
If you specify a setting that is not supported, an error message indicates
the level of SQL generation that is not supported, and the procedure
can reset to the default so that source table records can be read
and processed within SAS. If this is not possible, the procedure ends
and sets SYSERR= as needed.
You can specify different
SQLGENERATION= values for the DATA= and OUT= data sets by using different
LIBNAME statements for each of these data sets.
Here is how
SAS/ACCESS
handles precedence.
Precedence of Values for SQLGENERATION= LIBNAME and System
Options
|
PROC EXCLUDE on System
Option?
|
|
Engine Specified on
System Option
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
no SQL generated for
this database host or database version
|
|
|
|
|
|
|
|
|
|