Re: How to display the command text when a long transaction is on proc
- From: "Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx>
- Date: Fri, 16 Sep 2005 09:59:35 -0400
The only way to see what line is actually executing is to start a trace
beforehand with stmt:starting event.
--
Andrew J. Kelly SQL MVP
"Jason Zhang" <JasonZhang@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FD8773FA-92F9-4C19-AEA0-343AB999CC50@xxxxxxxxxxxxxxxx
> One connection is using a few store proc to do some transactions. It takes
> a
> long time to complete. I want to know if it's possible to show the
> particular
> SQL statement when the connection is running, e.g. the statement "select *
> from staff" is bottleneck as it consumes the most effort.
>
> Thanks!
.
- Prev by Date: Re: Connect to SQL Server 2005
- Next by Date: sql server odbc driver for linux
- Previous by thread: Re: How to display the command text when a long transaction is on proc
- Next by thread: Win 2003 Server x64
- Index(es):
Relevant Pages
|