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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain 3 basic parts of a trigger.

841


What is a database? Explain

598


How to look at the current sql*plus system settings?

606


What is the largest value that can be stored in a byte data field?

518


How do I count rows in sql query?

491






How does a self join work?

520


What is not null in sql?

580


What is pivot query?

596


what is dbms? : Sql dba

544


Why is the cursor important?

543


What does (*) mean in sql?

527


What are user defined functions?

579


what is online transaction processing (oltp)? : Sql dba

529


how to dump a table to a file with 'mysqldump'? : Sql dba

555


Can we change the table name in sql?

532