Category: SQL

PRAGMA EXCEPTION_INIT

Understanding INVISIBLE Column In Oracle Database

As of Oracle 12.1, you can now define invisible columns in relational tables. An invisible column is a user-defined hidden…

XMLType

Understanding CASE Statement & CASE Expression In Oracle Database.

• Simple CASE statement evaluates a expression and executes the statement or sequence of statements associated with the first condition…

PRAGMA EXCEPTION_INIT

Understanding SELECT FOR UPDATE In Oracle Database

The SELECT FOR UPDATE statement is a special variation of the normal SELECT statement, which proactively issues row locks on…

PRAGMA EXCEPTION_INIT

Understanding Function Based Index In Oracle Database

Traditionally, performing a function on an indexed column in the where clause of a query guaranteed an index would not…

PRAGMA EXCEPTION_INIT

Understanding Reverse Key Index In Oracle Database

Reverse B-TREE key indexes reverses the bytes of the key value in the index to reduce Index block contention. Index…

PRAGMA EXCEPTION_INIT

Understanding Bitmap Index in Oracle database

BITMAP index are different from B-TREE index in the manner they store data. • B-TREE index stores data in tree…

PRAGMA EXCEPTION_INIT

Understanding Materialized View ON PREBUILT TABLE

The “ON PREBUILT TABLE” clause is used when you have already created a replicated table using “CTAS” and now want…

PRAGMA EXCEPTION_INIT

Understanding DML Statements on a SQL Join View

A join view is a view based on a join. Special considerations apply when you issue a DML(INSERT, UPDATE, or…

PRAGMA EXCEPTION_INIT

Understanding Oracle SYS_CONTEXT

The SYS_CONTEXT function is used in both SQL & PL/SQL to return information about the Oracle environment that you’re working…

PRAGMA EXCEPTION_INIT

Understanding Oracle External Tables

External tables are read-only tables that allow Oracle to query data that is stored outside the database in flat files….