I have thought that TSQL Store Procedure IS COMPILED, but I'm proving Store Procedure SQLCLR (asembly in SQL SERVER 2005) ,
and now I think that TSQL is only a script TSQL stored in the
DB.... I'm wrong
Yes, stored procedures are compiled. Compilation is an operation where code is compiled / translated to a more machine related code. Nevertheless SQL Server stored the procedure text in the DB. The compiled results will acts as a plan how to execute the query / stored procedure.
TSQL Store Procedure is really COMPILED?
DSent
Thanks!
mikalush
Have a look here for more information http://www.microsoft.com/technet/prodtechnol/sql/2005/recomp.mspx
HTH, Jens K. Suessmeyer.
----
http://www.sqlserver2005.de
----