Previous Page | Next Page

SAS/ACCESS Interface to Netezza

Passing SAS Functions to Netezza

SAS/ACCESS Interface to Netezza passes the following SAS functions to Netezza for processing. Where the Netezza function name differs from the SAS function name, the Netezza name appears in parentheses. For more information, see Passing Functions to the DBMS Using PROC SQL.

ABS COS REPEAT
ARCOS (ACOS) COUNT SECOND (date_part)
ARSIN (ASIN) DAY (date_part) SIGN
ATAN EXP SIN
ATAN2 FLOOR SOUNDEX
AVG HOUR (date_part) SQRT
BAND (int4and) INDEX (position) STRIP (btrim)
BNOT (int4not) LOG (ln) SUBSTR
BLSHIFT (int4shl) LOG10 (log) SUM
BRSHIFT (int4shr) LOWCASE (lower) TAN
BOR (int4or) MAX TRANWRD (translate)
BXOR (int4xor) MIN TRIMN (rtrim)
BYTE (chr) MINUTE (date_part) UPCASE (upper)
CEIL MOD WEEK[<SAS date val>, V'] (date part)
COALESCE MONTH (date_part) YEAR (date_part)
COMPRESS (translate) QTR (date_part)

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 Netezza. Due to incompatibility in date and time functions between Netezza and SAS, Netezza might not process them correctly. Check your results to determine whether these functions are working as expected.

DATE (current_date) ROUND TRANSLATE
DATEPART (cast) TIME (current_time) WEEK[<SAS date val>] (date part)
DATETIME (now) TIMEPART (cast) WEEK[<SAS date val>, 'U'] (date part)
LENGTH TODAY (current_date) WEEK[<SAS date val>, 'W'] (date part)

Previous Page | Next Page | Top of Page