SAS/ACCESS Interface for MySQL |
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 MySQL. Due to incompatibility in date and time functions between MySQL and SAS, MySQL might not process them correctly. Check your results to determine whether these functions are working as expected.
Where the MySQL function name differs from the SAS function name, the MySQL name appears in parentheses. For more information, see Passing Functions to the DBMS Using PROC SQL.
ABS | DTEXTWEEKDAY | REPEAT |
ARCOS (ACOS) | DTEXTYEAR | ROUND |
ARSIN (ASIN) | EXP | SECOND |
ATAN | FLOOR | SIGN |
AVG | HOUR | SIN |
BYTE (CHAR) | INDEX (LOCATE) | SOUNDEX |
CEIL (CEILING) | LENGTH | SQRT |
COALESCE | LOG | STRIP (TRIM) |
COMPRESS (REPLACE) | LOG2 | SUBSTR (SUBSTRING) |
COS | LOG10 | TAN |
COT | LOWCASE (LCASE) | TIME (CURTIME()) |
COUNT | MAX | TIMEPART |
DATE (CURDATE) | MIN | TODAY (CURDATE()) |
DATEPART | MINUTE | TRIMN (RTRIM) |
DATETIME (NOW) | MOD | UPCASE (UCASE) |
DAY (DAYOFMONTH) | MONTH | WEEKDAY (DAYOFWEEK) |
DTEXTDAY | QTR (QUARTER) | YEAR |
DTEXTMONTH |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.