Phases of SQL Executionphases of SQL Execution

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

PHASES OF SQL EXECUTION

1. Any SQL statement will undergo following phases to get executed


a. PARSING : This phase will perform following actions
i. Syntax checking of the SQL statement
ii. Semantic checking of the statement i.e. checking for the privileges using base
tables
iii. Diving the statement into literals
b. EXECUTION : This phase will perform following actions
i. Converting the statement into ASCII format
ii. Compiling the statement
iii. Running or executing the statement
c. FETCH : Data will be retrieved in this phase

Note: For a PL/SQL program, BINDING will happen after PARSING phase (so it will have 4 phases to go)

You might also like