Preamble
Oracle PL/SQL Functions
Function | Description |
BFILENAME | The Oracle/PLSQL function returns the BFILENAME locator corresponding to the operating system’s physical filename file name. |
CARDINALITY | Oracle/PLSQL function CARDINALITY returns the number of elements in the nested table. |
COALESCE | Oracle/PLSQL function COALESCE returns the first non-zero expression from the list. If all expressions are defined as Null, the COALESCE function will return Null. |
DECODE | Oracle/PLSQL function DECODE has functionality of IF-THEN-ELSE operator. |
EMPTY_BLOB | Oracle/PLSQL function EMPTY_BLOB can be used to initialize empty LOB columns in INSERT or UPDATE operators or it can be used to initialize LOB variable. |
EMPTY_CLOB | Oracle/PLSQL function EMPTY_CLOB can be used to initialize empty LOB columns in INSERT or UPDATE operators or it can be used to initialize LOB variable. |
GROUP_ID | Oracle/PLSQL function GROUP_ID assigns a number to each group as a result of GROUP BY operator. GROUP_ID function is most often used to identify duplicate groups in query results. |
LNNVL | Oracle/PLSQL function LNNVL is used in the WHERE SQL query sentence to evaluate the state when one of the operands may contain the value NULL. |
NANVL | The Oracle/PLSQL function NANVL allows you to replace a value for a floating point number such as BINARY_FLOAT or BINARY_DOUBLE when Nan (Not a number) is encountered. This is most often used to convert the value Nan (Not a number) to NULL or 0. |
NULLIF | Oracle/PLSQL function NULLIF compares expr1 and expr2. If expr1 and expr2 are equal, the function NULLIF returns NULL. Otherwise, it returns expr1. |
NVL | Oracle/PLSQL function NVL allows you to replace the value when there is a Null value. |
NVL2 | Oracle/PLSQL function NVL2 extends the functionality of the NVL function. It replaces the value when a Null value is encountered and also when a non-Null value is encountered. |
SQLCODE | The SQLCODE function returns the error number associated with an exceptional situation. This function can only be used in the exception handling section of your code. |
SQLERRM | The SQLERRM function returns an error message related to an exceptional situation. This function can only be used in the exception handling section of your code. |
SYS_CONTEXT | Oracle/PLSQL function SYS_CONTEXT is used to get information about the state of Oracle environment. |
UID | Oracle/PLSQL function UID returns an integer number identifying the current database user. |
USER | Oracle/PLSQL function USER returns user_id from the current Oracle session. |
USERENV | Oracle/PLSQL function USERENV is used to get information about the current Oracle session. Although this function still exists in Oracle for backward compatibility, it is recommended to use the sys_context function instead. |
About Enteros
Enteros offers a patented database performance management SaaS platform. It proactively identifies root causes of complex business-impacting database scalability and performance issues across a growing number of clouds, RDBMS, NoSQL, and machine learning database platforms.
The views expressed on this blog are those of the author and do not necessarily reflect the opinions of Enteros Inc. This blog may contain links to the content of third-party sites. By providing such links, Enteros Inc. does not adopt, guarantee, approve, or endorse the information, views, or products available on such sites.
Are you interested in writing for Enteros’ Blog? Please send us a pitch!
RELATED POSTS
Enhancing Identity and Access Management in Healthcare with Enteros
- 19 November 2024
- Database Performance Management
In the fast-evolving world of finance, where banking and insurance sectors rely on massive data streams for real-time decisions, efficient anomaly man…
Maximizing Efficiency with Enteros: Revolutionizing Cost Allocation Through a Cloud Center of Excellence
In the fast-evolving world of finance, where banking and insurance sectors rely on massive data streams for real-time decisions, efficient anomaly man…
Driving Efficiency in the Transportation Sector: Enteros’ Cloud FinOps and Database Optimization Solutions
- 18 November 2024
- Database Performance Management
In the fast-evolving world of finance, where banking and insurance sectors rely on massive data streams for real-time decisions, efficient anomaly man…
Empowering Nonprofits with Enteros: Optimizing Cloud Resources Through AIOps Platform
In the fast-evolving world of finance, where banking and insurance sectors rely on massive data streams for real-time decisions, efficient anomaly man…