broesi
asked on
How to log SQL-code run against MDB?
Hi Experts,
is it possible to log all SQL-statements executed against a certain MDB-file? Maybe something like the SQL Profiler for MS SQL Server?
broesi
is it possible to log all SQL-statements executed against a certain MDB-file? Maybe something like the SQL Profiler for MS SQL Server?
broesi
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Them I'm afraid when he's dynamically creating the queries in code and that it will be impossible to get them.
Sorry for the bad news...
On the oher hand it's often faster to start from scratch to create an application as the time to find out how an old application works is considerable.
Nic;o)
Sorry for the bad news...
On the oher hand it's often faster to start from scratch to create an application as the time to find out how an old application works is considerable.
Nic;o)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Found out myself:
1. Opened the MDB with Access 2000
2. Used the Upsizing wizard to move the tables to a Microsoft SQL-Server
3. Linked the tables back using their original names
Now I can use SQL Profiler to have a look under the hood...
Might not work with all applications, but for this one it does!
Thanks for your responses, I'll split the points...
broesi
1. Opened the MDB with Access 2000
2. Used the Upsizing wizard to move the tables to a Microsoft SQL-Server
3. Linked the tables back using their original names
Now I can use SQL Profiler to have a look under the hood...
Might not work with all applications, but for this one it does!
Thanks for your responses, I'll split the points...
broesi
ASKER
To make this task a little easier, I would like to see the SQL that is sent to the MDB's.
broesi