SAS/ACCESS
Interface to Teradata passes the following SAS functions to Teradata
for processing. Where the Teradata function name differs from the
SAS function name, the Teradata name appears in parentheses. For more
information, see
Passing Functions to the DBMS Using PROC SQL.
ABS |
LOWCASE (LCASE) |
ACOS |
MAX |
ARCOSH (ACOSH) |
MIN |
ARSINH (ASINH) |
MINUTE |
ASIN |
MOD |
ATAN |
MONTH |
ATAN2 |
SECOND |
AVG |
SIN |
COALESCE |
SINH |
COS |
SQRT |
COSH |
STD (STDDEV_SAMP) |
COUNT |
STRIP (TRIM) |
DAY |
SUBSTR |
DTEXTDAY |
SUM4 |
DTEXTMONTH |
TAN |
DTEXTYEAR |
TANH |
EXP |
TIMEPART |
HOUR |
TRIM |
INDEX (POSITION) |
UPCASE |
LENGTH (CHARACTER_LENGTH) |
VAR (VAR_SAMP) |
LOG |
YEAR |
LOG10 |
ALL allows for SAS functions
that have slightly different behavior from corresponding database
functions that are passed down to the database. Only when SQL_FUNCTIONS=ALL
can
SAS/ACCESS Interface to Teradata also pass these SAS SQL functions
to Teradata. Due to incompatibility in date and time functions between
Teradata and SAS, Teradata might not process them correctly. Check
your results to determine whether these functions are working as expected.
For more information, see
SQL_FUNCTIONS=LIBNAME Option.
DATE |
SOUNDEX |
DATETIME (current_timestamp) |
TIME (current_time) |
LEFT (TRIM |
TODAY |
LENGTH (CHARACTER_LENGTH) |
TRIM |
DATETIME, SOUNDEX, and
TIME are not entirely compatible with the corresponding SAS functions.
Also, for SOUNDEX, although Teradata always returns 4 characters,
SAS might return more or less than 4 characters.