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!

Is it possible to trace SQL statements in client/server apps

Status
Not open for further replies.

hpfn

Technical User
May 10, 2001
4
AU
Scenario:
> SQL6.5 DB backend for client/server application;
> all users login to the app which connects to the DB via ODBC through a generic userID;
> therefore no destinction is possible in the activity window for different users;
Problem:
> some users experience random lockups and/or fatal errors on their workstations when running reports or batch jobs, where the error message claims that table and/or cell data is missing, however external queries show that data is there and available;
> vendor claims these are DB problems and not bugs;
Question:
Is it possible to construct a SQL and/or trace command which could catch the offending SQL statement?
 
In version 7 and 2000 we use the sql profiler. And it is excellent in pinpointing performance issues.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top