13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

612 Passing <strong>SAS</strong> Functions to MySQL 4 Chapter 21Passing <strong>SAS</strong> Functions to MySQLSQL_FUNCTIONS= ALL allows <strong>for</strong> <strong>SAS</strong> functions that have slightly differentbehavior from corresponding database functions that are passed down to the database.Only when SQL_FUNCTIONS=ALL can the <strong>SAS</strong>/<strong>ACCESS</strong> engine also pass these <strong>SAS</strong>SQL functions to MySQL. Due to incompatibility in date and time functions betweenMySQL and <strong>SAS</strong>, MySQL might not process them correctly. Check your results todetermine whether these functions are working as expected.Where the MySQL function name differs from the <strong>SAS</strong> function name, the MySQLname appears in parentheses. For more in<strong>for</strong>mation, see “Passing Functions to theDBMS Using PROC SQL” on page 42.ABSARCOS (ACOS)ARSIN (ASIN)ATANAVGBYTE (CHAR)CEIL (CEILING)COALESCECOSCOTCOUNTDATE (CURDATE)DATEPARTDATETIME (NOW)DAY (DAYOFMONTH)DTEXTDAYDTEXTMONTHDTEXTWEEKDAYDTEXTYEAREXPFLOORHOURINDEX (LOCATE)LENGTHLOGLOG2LOG10LOWCASE (LCASE)MAXMINMINUTEMODMONTHQTR (QUARTER)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!