Category: SQL

Cursor

Understanding Top-N Queries in Oracle Database

A Top-N query is used to retrieve the top or bottom N rows from an ordered set. Combining two Top-N…

Cursor

Understanding Different SQL*Loader Flavor In Oracle Database.

INSERT APPEND BEGINDATA You can also specify the data directly inside the control file itself using BEGINDATA keyword. i.e Anything…

Cursor

Understanding DIRECT PATH INSERT & CONVENTIONAL PATH INSERT Using SQL*Loader In Oracle Database

SQL*Loader allows you to load data from an external file into a table in the database. It can parse many…

Cursor

Understanding Oracle Hints For PARALLEL Operations

The Oracle PARALLEL hint instructs the optimizer to use a specified number of concurrent servers (degree of parallelism, or DOP)…

Cursor

Understanding Oracle Access Methods

Oracle employs several methods, known as access paths, to retrieve data for a SQL statement. Optimizer hints are comments within…

Cursor

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…

Cursor

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…

Cursor

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…

Cursor

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…