Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to trace ADO calls

Tags:

windows

vb6

ado

Friends, Is there a tool available to trace all sql statements passed between ADO (legacy vb6) (NOT ADO.NET) and database server? Appreciate your help

like image 978
Cinchoo Avatar asked Dec 19 '25 20:12

Cinchoo


1 Answers

Have you already seen this free (as in beer) Statement Tracer for ADO app by some Above Software? From program site:

Solution for monitoring SQL queries to Microsoft® ActiveX® Data Objects (ADO) data sources.

  • Monitoring any number of applications.
  • Tracing ADO queries in real time.
  • Enabling and disabling monitoring at any moment.

Frankly, I never used or heard about it before. But quick test with VB6 ADO app vs. SQL Server 2008 Express looks good: the tool did capture connection string from ADODB.Connection.Open() and SQL statement text from ADODB.Connection.Execute().

like image 152
Ilya Kurnosov Avatar answered Dec 21 '25 15:12

Ilya Kurnosov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!