Skip to main content

INDEX Definition

In Oracle, an INDEX is a database object intended to improve the performance of SELECT queries. Indexes are created on table columns, and the index stores all the values of the column under index segments. If the SELECT query uses an indexed column in any of the WHERE conditions, the query uses the index segment instead of performing a full table scan. This results in enhanced query performance.

Comments

Popular posts from this blog

Difference Between CASE and DECODE?

– CASE is a expression – DECODE is a function - CASE expression is ANSI SQL Statement - DECODE is specific to Oracle Syntax - CASE syntax contains WHEN and THEN  - DECODE will not have this - CASE allow expressions or Scalar Sub query Expressions inside the CASE statement - DECODE won't allow expressions inside the DECODE function

SQL Statements

Data retrieval SELECT Data manipulation language (DML) INSERT UPDATE DELETE MERGE Data definition language (DDL) CREATE ALTER DROP RENAME TRUNCATE Transaction control COMMIT ROLLBACK SAVEPOINT Data control language (DCL) GRANT REVOKE