
For more information about using the In-database format publishing macro and the
SQLMAPPUTTO system option, see SAS/ACCESS for Relational Databases: Reference.
Replacing References to the DATE, TIME, DATETIME, and TODAY
Functions
When the PROC SQL CONSTDATETIME option or the SQLCONSTDATETIME
system option is set, PROC SQL evaluates the DATE, TIME, DATETIME, and TODAY
functions in a query once, and uses those values throughout the query. Computing these
values once ensures consistent results when the functions are used multiple times in a
query, or when the query executes the functions close to a date or time boundary. When
referencing database ...