Try OpenEdge Now
skip to main content
SQL Reference
SQL Reference : Compliance with Industry Standards : Scalar functions
 

Scalar functions

The following table lists OpenEdge SQL scalar functions. A check mark identifies the compatibility of the function as SQL‑92 compatible, ODBC compatible, or a Progress® extension.
Table 50. Compatibility of SQL‑92 scalar functions
Scalar function
SQL‑92
ODBC
Progress extension
Notes
ABS
a
ACOS
a
ADD_MONTHS
a
ASCII
a
ASIN
a
ATAN
a
ATAN2
a
CAST
a
CEILING
a
CHAR
a
CHR
a
COALESCE
a
CONCAT
a
CONVERT
a
Requires ODBC escape clause - { fn }
CONVERT
a
Not compatible with ODBC CONVERT
COS
a
CURDATE
a
CURTIME
a
DATABASE
a
DAYNAME
a
DAYOFMONTH
a
DAYOFWEEK
a
DAYOFYEAR
a
DB_NAME
a
DECODE
a
DEGREES
a
EXP
a
FLOOR
a
GREATEST
a
HOUR
a
IFNULL
a
INITCAP
a
INSERT
a
INSTR
a
LAST_DAY
a
LCASE
a
LEAST
a
LEFT
a
LENGTH
a
LOCATE
a
LOG10
a
LOWER
a
LPAD
a
LTRIM
a
MINUTE
a
MOD
a
MONTH
a
MONTHNAME
a
MONTHS_BETWEEN
a
NEXT_DAY
a
NOW
a
NULLIF
a
NVL
a
PI
a
POWER
a
PREFIX
a
PRO_ARR_DESCAPE
a
PRO_ARR_ESCAPE
a
PRO_ELEMENT
a
QUARTER
a
RADIAN
a
RAND
a
REPEAT
a
REPLACE
a
RIGHT
a
ROUND
a
ROWID
a
RPAD
a
RTRIM
a
SECOND
a
SIGN
a
SIN
a
SQRT
a
SUBSTR
a
SUBSTRING
a
SUFFIX
a
SYSDATE
a
SYSTIME
a
SYSTIMESTAMP
a
TAN
a
TO_CHAR
a
TO_DATE
a
TO_NUMBER
a
TO_TIME
a
TO_TIMESTAMP
a
TRANSLATE
a
UCASE
a
UPPER
a
USER
a
a
a
WEEK
a
YEAR
a