Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Using SQL Profiler to trace sp_executesql

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-02-24 : 09:33:27
Stan writes "Hi,

I have a SQL Profiler question: for the following SQL statement, is there anyway to find the actual SQL for @SQL , its CPU usage and Duration using SQL Profiler without changing the codes?


EXEC sp_executesql @SQL, N'@EvaluationID int, @Return_Value bit OUTPUT',
@EvaluationID=@EvaluationID,
@Return_Value=@Return_Value OUTPUT


Thanks in advance.


Stan"
   

- Advertisement -