Somewhat before the sp_execute in the Profiler trace you should see
sp_prepare statements, for which the parameter @P1 is the same as the
parameter @P1 for the sp_execute statement. That is the T-SQL statement that
is prepared and later executed with sp_execute.
--
Jacco Schalkwijk
SQL Server MVP
"Rachel" <anon...@discussions.microsoft.com> wrote in message
news:436c01c4a555$2946de50$a401...@phx.gbl...