You are probably seeing that as a trace or profile result (let us know where you are seeing it)...
sp_executesql executes dynamic sql statements. The semicolun is the end of that statement and we often see a statement terminated with ;1 in the traces. It has nothing to do with the actual sp_executesql command itself.
sp_executesql in actual usage looks like :
sp_executesql [ @stmt = ] stmt [, [@params=] N'@parameter_name data_type [ OUTPUT ] , [ @param1 = ] 'value1' [ ,...n ] ]
So, you need to look at the details for the PID of whatever process was running.
Main Topics
Browse All Topics





by: Sharath_123Posted on 2009-04-29 at 18:06:53ID: 24266143
can you provide the comeplete statement? or script?