Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Trace 1

Status
Not open for further replies.

hramos25

MIS
Nov 29, 2007
9
US
Dear Sir Or Madam,

I have a problem with a Microsoft application when user enters a batch hit save the batch the application just run and run, never returns. I would like to run a SQL Profile Trace just for that specific process so I can see what is doing.. can some please tell me what steps I need to take to run a trace that only give the results when user is trying to process the batch... DO I need to synchronize and start the trace then process the batch..

Thanks in advance for your help

James
 
Fire up SQL PRofiler, and filter it based on the hostname of the person running the software that is having the problem. This will capture all the commands that they execute against the SQL Server.

Denny
MVP
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / SQL 2005 BI / SQL 2008 DBA / SQL 2008 DBD / SQL 2008 BI / MWSS 3.0: Configuration / MOSS 2007: Configuration)
MCITP (SQL 2005 DBA / SQL 2008 DBA / SQL 2005 DBD / SQL 2008 DBD / SQL 2005 BI / SQL 2008 BI)

My Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top