BY-group processing is handled by SAS for Base SAS procedures.
Raw results are returned from the DBMS, and SAS BY-group processing
applies formats as necessary to create the BY group.
For
SAS/STAT procedures, formats can be applied, and BY-group processing
can occur inside the DBMS if the SAS_PUT( ) function and formats
are published to the DBMS. For more information, see the
SAS
Analytics Accelerator for Teradata: Guide.
These BY statement option
settings apply to the in-database procedures:
-
The DESCENDING option is supported.
-
The NOTSORTED option is ignored
because the data is always returned in sorted order.
When
SAS/ACCESS creates a database table,
SAS/ACCESS by default uses the SAS formats that
are assigned to variables to decide which DBMS data types to assign
to the DBMS columns. If you specify the DBFMTIGNORE system option
for numeric formats,
SAS/ACCESS
creates DBMS columns with a DOUBLE PRECISION data type. For more information,
see the LIBNAME Statement for Relational Databases, “LIBNAME
Statement Data Conversions,” and the DBFMTIGNORE system option
in
SAS/ACCESS for Relational Databases: Reference.