Re: run Profiler on a specific SP/Query/Function



Greg Linwood (g_linwood@xxxxxxxxxxx) writes:
I'm always keen to learn new Profiler tehniques - how do the Starting
events help you get a better grip over the flow?

Do Starting events let you know if a batch is aborted due to an error any
more than Completed events? I would've thought that collecting an error
event would've been the way to detect those conditions..

Here is another reason to include RPC:Starting event that I just learnt
about, even it is just temporary until SP2 comes out:
http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=b41bc63f-bcb6-4068-a814-24f26bc91ca0

--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: Insert Error: Column name or number of supplied values does not match table definition.
    ... submitting the batch, ... You need to learn about parameterised statements. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.data.oledb)
  • Re: long SQL lines for osql
    ... it sounds like it chokes on something. ... It could be the file size, but it could also be the batch size. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: long SQL lines for osql
    ... it sounds like it chokes on something. ... It could be the file size, but it could also be the batch size. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: Error converting a text field to a datetime datatype, who can figure this anyone????
    ... But since SQL Server thinks conversion error is reason enough for aborting ... the batch, that does not fly. ... Books Online for SQL Server SP3 at ...
    (microsoft.public.sqlserver.server)
  • Re: VB6/SQl Server 2000 (Vaughn)
    ... exec @errorcode = proc1; ... Hitchhiker's Guide to Visual Studio and SQL Server ... In short, I want to trace the path,of the flow of events, at the server ... and then tried using GetClipStringfunction of the resultset. ...
    (microsoft.public.vb.database)