![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, I have a bunch of undocumented stored procedures (legacy). What I want, is to find out for each procedure, what changes it makes in all the database. We want to replace these procedures with some equivalent (maby sth java-based), and thus I have to know what values are modified, or inserted to the db. What is the best approach to track these updates/inserts/deletes done by stored procedure? Is it possible at all? Regards, Chris |
#3
| |||
| |||
|
|
I suppose that you can do a code analysis to try to see which procs are called from your proc, and which tables these modify, etc. |
|
I know of a tool (non-free) that will do this for you and generate a comprehensive report of the entire SQL code base (well - based on the code in the database). You can check out www.sqlbrowser.com in case you're interested. |

|
Michael |
#4
| |||
| |||
|
|
Hi all, I have a bunch of undocumented stored procedures (legacy). What I want, is to find out for each procedure, what changes it makes in all the database. We want to replace these procedures with some equivalent (maby sth java-based), and thus I have to know what values are modified, or inserted to the db. What is the best approach to track these updates/inserts/deletes done by stored procedure? Is it possible at all? Regards, Chris |
#5
| |||
| |||
|
|
Hi all, I have a bunch of undocumented stored procedures (legacy). What I want, is to find out for each procedure, what changes it makes in all the database. We want to replace these procedures with some equivalent (maby sth java-based), and thus I have to know what values are modified, or inserted to the db. What is the best approach to track these updates/inserts/deletes done by stored procedure? Is it possible at all? Regards, Chris |
![]() |
| Thread Tools | |
| Display Modes | |
| |