i want run a sql query query? which phases are run in a back
ground? pls tell me the answer



i want run a sql query query? which phases are run in a back ground? pls tell me the answer..

Answer / nitin

The phase of sql query execution is as follows.
1)Syntax Checking: Query will be checked if it is syntactically correct.
2)Semantic Checking:Query will be checked for user has rights on tables etc.
3)Cursor sharing:query will be checked against cursor sharing if soft parse can be done or hard parse required.
4)The creation of cost based decision tree for possible plans.
5)The execution of lowest cost execution plan.
6)Binding the execution plan.
7) Executing the query and fetching the rows.

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

Is there any problem if we use commit repeatedly after each dml statement in a plsq procedure ? (eg. there are 10 update stmt and using 10 commit stmt after each update stmt)

1 Answers  


What is the difference between a query and a report?

0 Answers  


I have one table and column is c1 pk, c2 not null,c3 not null and 200 row in it and i add c4 column and value, how can is possible

9 Answers  


What is the difference between sql and mysql?

0 Answers  


how to give permission to users that users can update/insert/delete on a row of table on timeing 10am to 6pm only?

4 Answers   TCS,






What is aggregate function in sql?

0 Answers  


how mysql optimizes distinct? : Sql dba

0 Answers  


I have the table like this S.No Name ID 01 Xyz 123 I want the result as 01Xyz123 How to write the query to retrieve the entire row data in a single column?

1 Answers  


How to count the no of records of a table without using COUNT function?

11 Answers   TCS, Tesco,


What are the benefits of pl sql?

0 Answers  


What is a sql select statement?

0 Answers  


Why primary key is required?

0 Answers  


Categories