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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

capture query statement

Status
Not open for further replies.

tritang

Programmer
Oct 1, 2001
1
0
0
VN
i have a SQL server database, placed in a server computer.
other clients connect to the database, get data by different softwares.
How can I read the query statements issued from the clients?
Pls help me
 

What do mean, "read the query statements issued from the clients?" Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
the clients running an application connect to the database, issue a statement ( for example, show a report ) to the server to get data.
From the server, can i know which statement was issued? (what is the question that was asked from the client?)
thank you!
 

Do yo want to see a trace of the SQL statements issued by the clients? What is the purpose of capturing the SQL statements? Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
yes Terry, I want to see the traces of the SQL statement issued by the clients.
i want to test the application, to be sure that it does issue the correct SQL statements
thank you
anhtri
 
Use the SQL Profiler. SQL Profiler is one of the SQL Client tools. It can be installed along with Enterprise Manager, Query Analyzer, etc.

SQL BOL contains the detailed information about SQL Profiler. Check the following topic.

Monitoring with SQL Profiler
Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
i can get it now Terry
thank you very much!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top