What is the order in which the SQL query is executed? list
them in order.

Answer Posted / l. meher

When a SQL query is getting executed it goes through the
following steps:

1) It goes to the shared pool which contains information
such as the parse tree and execution plan for the
corresponding statement.
2)Validate the SQL statement.
3)Validate the source.
4)Acquire locks.
5)Checks for previllages.
6)Parse the statement.
7)Execute the Query.
8)Fetch the value (only for select statement).
9)Generate the redo information.

If you have any doubt mail me at lmeher.tcs@gmail.com
Thanks..

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to attach adventureworkslt physical files to the server?

814


How much does sql server 2016 cost?

749


What is named calculation? : sql server analysis services, ssas

724


Does a specific recovery model need to be used for a replicated database? : sql server replication

705


What is user-defined scalar function?

719






How to check what was the last restore transaction LSN in Log shipping or Mirroring? when we don't have a Monitor or witness server.

3561


How extra digits are handled with numeric data type literals?

692


List the different types of collation sensitivities in sql server?

725


what is an index? : Sql server database administration

678


Explain the concept of recursive stored procedure.

662


What is difference between delete & truncate commands?

728


Do you know what is a linked server in sql server?

710


Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?

751


Explain Reporting Life Cycle?

102


How to create an identity column?

844