The Oracle NVL2 function

NVL2 provides a similar functionality as NVL function.
This function evaluates a column or expression in the following way:

  • If the result is not NULL, it returns the second parameter that was given to NVL2 function.
  • If the result is NULL, it returns the third parameter that was given to NVL2.

Continue reading “The Oracle NVL2 function”

Tablespace size of an Oracle Database

How can I know the size of my Oracle Database? What is the size of the Tablespaces in an Oracle Database?
An Oracle database stores the data in logical units called Tablespaces. Therefore, to know the size of the whole instance you need to know the size of each tablespace. Continue reading “Tablespace size of an Oracle Database”