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 sql Statement in SQLServer

Status
Not open for further replies.

richardtsa

Programmer
Nov 10, 2002
20
0
0
ZA
One of my programs I've written in VB is capturing junk somewhere and only occasionally into SQL Server. I can capture the info as it is going into SQL Server. But I still do not know what the sql statement is, that is causing it. Is there any way to capture the actual statement in Sql Server, so that I can go and look for it in my program.
Any HELP would be appreciated.
 
Try using the Query Profiler and you should be able to capture the SQL Statement.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top