SAS/ACCESS Interface to Oracle |
SAS/ACCESS Interface to Oracle passes the following SAS functions to Oracle for processing. Where the Oracle function name differs from the SAS function name, the Oracle name appears in parentheses. For more information, see Passing Functions to the DBMS Using PROC SQL.
ABS
ARCOS (ACOS)
ARSIN (ASIN)
ATAN
AVG
CEIL
COS
COSH
COUNT
DATEPART
DATETIME (SYSDATE)
DTEXTDAY
DTEXTMONTH
DTEXTYEAR
EXP
FLOOR
LOG
LOG10
LOG2
LOWCASE (LCASE)
MAX
MIN
SIGN
SIN
SINH
SOUNDEX
SQRT
STRIP (TRIM)
SUM
TAN
TRANSLATE
TRIM (TRMIN)
UPCASE (UPPER)
When the Oracle server is 9i or above, these additional functions are also passed.
COALESCE
DAY (EXTRACT)
MONTH (EXTRACT)
YEAR (EXTRACT)
SQL_FUNCTIONS=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 the SAS/ACCESS engine also pass these SAS SQL functions to Oracle. Due to incompatibility in date and time functions between Oracle and SAS, Oracle 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 (TRUNC(SYSDATE))*
DATEPART (TRUNC)*
INDEX (INSTR)
LENGTH
MOD
ROUND
SUBSTR
TODAY (TRUNC(SYSDATE)*
TRANWRD (REPLACE)
TRIM (RTRIM)
*Only in WHERE or HAVE clauses.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.