Oracle Tutorial

What is Oracle
SQL Keywords

Oracle Wildcards

Oracle Wildcards

Oracle Aliases

Oracle Aliases

MySQL Tutorial

MySQL Tutorial

PL/SQL Tutorial

PL/SQL Tutorial

Oracle Interview Questions

Oracle Interview Questions and Answers


Oracle Advanced Functions

Oracle functions are built into Oracle and are available for use in various appropriate Oracle statements. You can also create your own function using PL/SQL.

Function Description
BFILENAMEReturns a BFILE locator for a physical LOB binary file.
CARDINALITYReturns the number of elements in a nested table.
CASEProvides functionality of an IF-THEN-ELSE statement.
COALESCEReturns the first non-null expression in the list.
DECODEProvides functionality of an IF-THEN-ELSE statement.
EMPTY_BLOBTo initialize a LOB column to EMPTY in an INSERT statement or UPDATE statement or it can be used initalize a LOB variable.
EMPTY_CLOBTo initialize a LOB column to EMPTY in an INSERT statement or UPDATE statement or it can be used initalize a LOB variable.
GROUP_IDTo identify duplicated groups in your query results.
LNNVLTo evaluate a condition when one of the operands may contain a NULL value.
NANVLTo convert Nan (Not a number) values into either NULL or 0.
NULLIFTo compares expr1 and expr2
NVLTo substitute a value when a null value is encountered.
NVL2To substitutes a value when a null value is encountered
SYS_CONTEXTTo retrieve information about the Oracle environment.
UIDReturns the id number for a user's session.
USERReturns the user_id from the current Oracle session.
USERENVTo retrieve information about the current Oracle session.