Re: Using Profiler to filter update statements on a database table

From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 03/11/04


Date: Thu, 11 Mar 2004 22:36:29 +0100

You need to use the right events in the trace. For instance, Stored
Procedure, SP_StmtStarting.

-- 
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
"TMR" <trajparia@yahoo.com> wrote in message
news:B6336042-C68E-4D68-8544-0BA2016C42DE@microsoft.com...
> Hi,
>   I am tryitng to create SQL trace for procedure. I am fairly new to SQL
server, have used Oracle in past. I tried creating SQL trace for procedure
which in turn does lot of processing and calls other procedures.  Trace just
genrated one singe timing for the whole procedure combined, I want it for
individual statements and want to see the indexes used.
>
> Can you plase help:
>
> Thanks,
> Trupti


Relevant Pages

  • Re: cant get the correct num of rows from Oracle. in 2 SQL servers ( sql 7.0 and SQL 2000)
    ... I was referring to a trace on the Oracle database, to see what SQL code the Oracle database ... Tibor Karaszi, SQL Server MVP ... >> Tibor Karaszi, SQL Server MVP ...
    (microsoft.public.sqlserver.server)
  • Re: cant get the correct num of rows from Oracle. in 2 SQL servers ( sql 7.0 and SQL 2000)
    ... I was referring to a trace on the Oracle database, to see what SQL code the Oracle database ... Tibor Karaszi, SQL Server MVP ... >> Tibor Karaszi, SQL Server MVP ...
    (microsoft.public.sqlserver.programming)
  • Re: Simple timeout problem
    ... Brian, I haven't found anything specific on this error. ... We'd want to limit the trace to just the BizTalkRuleEngineDB. ... To run a trace go to SQL Profiler (under the SQL Server entry in the start ... | are reporting a timeout condition trying to connect to the SQL database. ...
    (microsoft.public.biztalk.general)
  • Re: Profiler Bug viewing trace flat file?
    ... Kalen Delaney, SQL Server MVP ... Run this code to create a trace capture of the RPC:Complete event: ... declare @error INT ... Now open the trace file in Profiler and you will see that the Textdata ...
    (microsoft.public.sqlserver.tools)
  • Re: How to look at parameter string
    ... I am tracing, but the problem I can't trace (at least, I haven't figured out ... string it is putting together to send to Sql. ... >> The problem is not coming from Sql Server but from my page. ...
    (microsoft.public.dotnet.framework.adonet)