ODBC scalar functions Microsoft Jet SQL supports the syntax defined by ODBC as a scalar function. For example, this query:Select dailyclose, DAILYCHANGE FROM DAILYQUOTE WHERE {fn ABS (DAILYCHANGE)}> 5 All columns whose absolute values of a stock price change are greater than 5 will return. The subset of scalar functions defined by ODBC is supported. The following table lists supported functions. For more information about how to make a function include the variable description of an SQL statement and the escape syntax, see the ODBC documentation. String Functions ASCII LENGTH RTRIM CHAR LOCATE SPACE CONCAT LTRIM SUBSTRING LCASE RIGHT UCASE LEFT Numeric Functions ABS FLOOR SIN ATAN LOG SQRT CEILING POWER TAN COS RAND MOD EXP SIGN Time and date functions CURDATE DAYOFYEAR MONTH CURTIME YEAR WEEK NOW HOUR QUARTER DAYOFMONTH MINUTE MONTHNAME DAYOFWEEK SECOND DAYNAME Data Type Conversion CONVERT string text can be converted to the following data types: SQL _FLOAT, SQL _DOUBLE, SQL _NUMERIC, SQL _INTEGER, SQL _REAL, SQL _SMALLINT, SQL _VARCHAR and SQL _DATETIME. |