Skip to main content
Version: 11.0

SQL functions N-R

tip

Check out how to read this article by clicking the “Show content” link. I have a SQL function in mind. Can I use it in my USoft application?

Find the function in the alphabetic list. Look in the column for your database platform. If there is a dash in that cell, or if the function is not in the list at all, then the function is not supported.

Otherwise, have a look also in the USoft column (the second column from the left): There may be special details or restrictions. Consult your RDBMS documentation. In some places, function names are hyperlinked to additional information supplied by USoft. To get more detail on how USoft converts a function, and whether or not it is sent to the RDBMS for evaluation, run a profile in USoft Benchmark. Special cases The table refers to ROWNUM, SYSDATE and USER even though these are technically pseudo-columns rather than functions. Pseudo-columns are like function calls without arguments. They are different from functions in that the call syntax does not use empty parentheses. The table refers to TOP and RECORDS even though these are technically in-line operators and not functions. Rather than taking their input from arguments passed between parentheses, TOP and RECORDS operate on a query result, in a way similar to DISTINCT, GROUP BY, or ORDER BY.

NameUSoftOracleSQLServerODBCJDBCY, Derby
NEW_TIME-NEW_TIME--NEW_TIME
NEXT_DAY-NEXT_DAY--NEXT_DAY
NLSSORT-NLSSORT---
NLS_INITCAP-NLS_INITCAP---
NLS_LOWER-NLS_LOWER--NLS_LOWER
NLS_UPPER-NLS_UPPER--NLS_UPPER
NOWCURRENT_DATESYSDATEGETDATENOWSYSDATE
NULLVAL_CHAR---NULLVAL_CHAR-
NULLVAL_INT---NULLVAL_INT-
NUMBERTOCHARNUMBERTOCHARTO_CHAR(number)CONVERT(number)NUMBERTOCHARNUMBERTOCHAR
NVLIFNULLNVLISNULLIFNULLCOALESCE
NVLNVLISNULLIFNULLCOALESCE
NameUSoftOracleSQLServerODBCJDBCY, Derby
OBJECT_ID--OBJECT_ID--
OBJECT_NAME--OBJECT_NAME--
OLDOLDOLDOLDOLDOLD
PATINDEX--PATINDEX--
PI--PIPIPI
POWERPOWERPOWERPOWERPOWERPOWER
QUARTER---QUARTER-
RADIANS--RADIANSRADIANSRADIANS
RAND--RANDRANDRAND
RAWTOHEX-RAWTOHEX--RAWTOHEX
NameUSoftOracleSQLServerODBCJDBCY, Derby
RDBMSTYPERDBMSTYPERDBMSTYPERDBMSTYPERDBMSTYPERDBMSTYPE
RECORDSRECORDSRECORDSRECORDSRECORDSRECORDS
REGEXP_INSTR-REGEXP_INSTR--REGEXP_INSTR
REGEXP_REPLACE-REGEXP_REPLACE--REGEXP_REPLACE
REGEXP_SUBSTR-REGEXP_SUBSTR--REGEXP_SUBSTR
REPEAT---REPEAT-
REPLACEREPLACEREPLACEREPLACEREPLACEREPLACE
REPLICATE--REPLICATE--
REVERSE--REVERSE--
RIGHT--RIGHTRIGHT-
ROLEROLEROLEROLEROLEROLE
ROUNDROUNDROUNDROUNDROUNDROUND
TRUNCTRUNCROUNDTRUNCATETRUNC
ROWIDTOCHAR-ROWIDTOCHAR--ROWIDTOCHAR
ROWNUMROWNUMROWNUMROWNUM-ROWNUM
RPAD-RPAD--RPAD
RTRIMRTRIMRTRIMRTRIMRTRIMRTRIM