is there anything similar to Windows Hooks in SQL Server?
What would you want to do with such a thing?
In general when processing a query you don't have control over how it is processed so wouldn't be able to break in.
There is the profiler which allows you to monitor activity and some messages being passed in and out of the server if that helps.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?