Chang-Il Kim


Hi all,

I¡¯m having a test regarding to the image data type. The test program is written with sql native api and just update the image data type column, but I looked the SQL Compilations/sec and Batch Requests/sec counters in SQLServer:Tongue TiedQL Statistics using Perfmon, both values are almost the same. It seemed whenever the stored procedure is called, SQLServer compiles it and makes execution plan again. But when I had a test without image data type, SQL Compilation/sec was 0. SQL version is Microsoft SQL Server 2005 - 9.00.3054.00 (Intel X86) (Build 2600: Service Pack 2).

Is SQL server working the way expected or am I missing something



Re: SQL Compilation and execution plan

Mostafa Elhemali MSFT


Please look at this MSDN article in order to find out more about what's causing your recompiles:

http://support.microsoft.com/kb/308737

If you're still facing problems it would really help to give us a simple script that illustrates your problem (table schema & exact queries).