Possible Duplicate:
What is the meaning of Stored procedures are “pre compile”?
I read that stored procedures in SQL Server are compiled before they are executed. AFAIK, a compiler is used to translating high-level language into machine language or some kind of intermediate language (such as .NET IL code). So I am wondering what does SQL Server compiler do? What is a stored procedure compiled into?
Thanks.