What is the order in which the SQL query is executed? - Sql server

What is the order in which the SQL query is executed?

The following is the order of executing SQL query:
The query goes to the shared pool that has information like parse tree and execution plan for the corresponding statement.

Then validates the SQL statement and validates the source(table).

Acquire locks.

Checks all the privileges.

Execute the query.

Fetch the values for SELECT statement

Displays the fetched values.

To sum up, the sequence is:
SELECT .........
FROM ..........
WHERE ..........
GROUP BY ...........
HAVING .............
How to store pdf file in sql server?
Store pdf file in sql server - Create a column as type ‘blob’ in a table. Read the content of the file and save in ‘blob’ type column in a table.......
Concepts and capabilities of SQL Server
Concepts and capabilities of SQL Server - Microsoft SQL server is a relational database management system. It uses MS- SQL as the query language.......
Use of keyword WITH ENCRYPTION. Create a Store Procedure with Encryption.
Use of keyword WITH ENCRYPTION - WITH ENCRYPTION Indicates that SQL Server will convert the original text.......
Post your comment