Valid in: | DATA and PROC steps (when accessing DBMS data using |
Default: | CURRENT VALIDTIME [valid-time column], CURRENT TRANSACTIONTIME [transaction-time column] |
Interaction: | Specifying values in a DATA step overrides LIBNAME values. |
Data source: | Teradata |
See: | TEMPORAL_QUALIFIER= LIBNAME option |
TEMPORAL_QUALIFIER='AS
OF PERIOD '(1999-01-01, 2099-01-05)' '
in a DATA step, 'AS
OF PERIOD '(1999-01-01, 2099-01-05)' '
is added before
the SQL to select the data.
/* Consider data as of 1995-01-01. */ libname x teradata user=testuser pw=testpw server=td1310 TEMPORAL_QUALIFIER='VALIDTIME AS OF DATE '1995-01-01' ' /* ASOF PERIOD '(1999-01-01, 2099-01-05)' select * from mytest is submitted. */ proc print data=x.mytest(TEMPORAL_QUALIFIER='CURRENT VALIDTIME'); run;