SAS/ACCESS Interface to Teradata |
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
ACOS
ARCOSH (ACOSH)
ARSINH (ASINH)
ASIN
ATAN
ATAN2
AVG
COALESCE
COS
COSH
COUNT
DAY
DTEXTDAY
DTEXTMONTH
DTEXTYEAR
EXP
HOUR
INDEX (POSITION)
LENGTH (CHARACTER_LENGTH)
LOG
LOG10
LOWCASE (LCASE)
MAX
MIN
MINUTE
MOD
MONTH
SECOND
SIN
SINH
SQRT
STD (STDDEV_SAMP)
STRIP (TRIM)
SUBSTR
SUM
TAN
TANH
TIMEPART
TRIM
UPCASE
VAR (VAR_SAMP)
YEAR
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
DATETIME (current_timestamp)(
LEFT (TRIM
LENGTH (CHARACTER_LENGTH)
SOUNDEX
TIME (current_time)
TODAY
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.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.