dbTalk Databases Forums  

Profiler and Prepared SQL from ODBC

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss Profiler and Prepared SQL from ODBC in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dan Holmes
 
Posts: n/a

Default Profiler and Prepared SQL from ODBC - 03-04-2009 , 12:29 PM






SQL profiler can report the event of SQL:StmtStarting and SQL:StmtCompleted. There is an event for Exec Prepared SQL.
This is the prepared version of SQL:StmtCompleted. I don't see the prepared event equivalent to SQL:StmtStarting. Is
there just not one or am i missing it?

danny

Reply With Quote
  #2  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Profiler and Prepared SQL from ODBC - 03-04-2009 , 07:03 PM






It is an exec event not a completed or started so it only shows after it
execs. There is no other to the best of my knowledge.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Dan Holmes" <dan.holmes (AT) routematch (DOT) com> wrote

Quote:
SQL profiler can report the event of SQL:StmtStarting and
SQL:StmtCompleted. There is an event for Exec Prepared SQL. This is the
prepared version of SQL:StmtCompleted. I don't see the prepared event
equivalent to SQL:StmtStarting. Is there just not one or am i missing it?

danny


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.