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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>SAS</strong>/<strong>ACCESS</strong> Interface to DB2 Under UNIX and PC Hosts 4 Passing <strong>SAS</strong> Functions to DB2 Under UNIX and PC Hosts 471FLOORHOURINDEX (LOCATE)LENGTHLOGLOG10LOWCASE (LCASE)MAXMINMINUTEMODMONTHQTR (QUARTER)REPEATSECONDSIGNSINSINHSQRTSTRIPSUBSTR (SUBSTRING)SUMTANTANHTRANWRD (REPLACE)TRIMN (RTRIM)UPCASE (UCASE)WEEKDAY (DAYOFWEEK)YEARSQL_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 DB2. Due to incompatibility in date and time functions between DB2and <strong>SAS</strong>, DB2 might not process them correctly. Check your results to determinewhether these functions are working as expected.DATE (CURDATE)DATEPARTDATETIME (NOW)DAY (DAYOFMONTH)SOUNDEXTIME (CURTIME)TIMEPARTTODAY (CURDATE)

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

Saved successfully!

Ooh no, something went wrong!