Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Working on a project i execute lots of query like select,insert,joins etc.
When I execute any query it will return something like int ar dataset depend on query. What happens when any query is executed,where the query is compiled,how it differentiate between different syntaxes?
Posted
Comments
JF2015 18-Feb-11 6:51am    
Edited to remove unnecessary pre tags.

Hi,

Refer this link..
You get some idea..

What happens when SQL Server executes[^]

Cheers :)
 
Share this answer
 
Comments
Dylan Morley 18-Feb-11 7:22am    
5 - good link
In addition to the answer by T.Saravanann, try using SQL profiler to see what happens when your SQL Server receives requests. It will show you exactly what SQL Server is doing.

http://msdn.microsoft.com/en-us/library/ms187929.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900