We help IT Professionals succeed at work.

catch odbc queries

milan77
milan77 asked
on
Hi!

Does exist the possibility to catch odbc-queries which are made for example from my php-applications? What I want is this:

request sample.php (sample.php contains for example some "select/insert etc." statement) makes a query over odbc to my SQL Server.

Can I somehow catch with an external program the sql-request which was made to SQL Server by sample.php?

Best regards,
milan77
Comment
Watch Question

Hi milan77,

Delphi is shipped with a program called SQL Monitor (Start, Programs, Delhix -> SQL Monitor).  This will trace all calls made to the ODBC.  It automatically detects what apps are connecting to a DB and creating a Client listing for it.

I use this quite often when something doesn't appear to be working quite right :)

Cheers,

Stu
milan77:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
CERTIFIED EXPERT

Commented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

accept Stuart Johnson's comment as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Thanks,

geobul
EE Cleanup Volunteer

Explore More ContentExplore courses, solutions, and other research materials related to this topic.