SAS/ACCESS Interface to Sybase |
SAS/ACCESS Interface to Sybase passes the following SAS functions to Sybase for processing if the DBMS driver/client that you are using supports the function. Where the Sybase function name differs from the SAS function name, the Sybase name appears in parentheses. See Passing Functions to the DBMS Using PROC SQL for information.
ABS | DTEXTWEEKDAY | SECOND |
ARCOS (ACOS) | DTEXTYEAR | SIGN |
ARSIN (ASIN) | EXP | SIN |
ATAN | FLOOR | SQRT |
AVG | HOUR | STRIP (RTRIM(LTRIM)) |
CEIL (CEILING) | LOG | SUM |
COS | LOWCASE (LOWER) | TAN |
COUNT | MAX | TRIMN (RTRIM) |
DATETIME (GETDATE()) | MIN | UPCASE (UPPER) |
DAY | MINUTE | WEEKDAY |
DTEXTDAY | MONTH | YEAR |
DTEXTMONTH |
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 Sybase. Due to incompatibility in date and time functions between Sybase and SAS, Sybase might not process them correctly. Check your results to determine whether these functions are working as expected.
DATEPART | ROUND | TIMEPART |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.