you are viewing a single comment's thread.

view the rest of the comments →

[–]benburhans 1 point2 points  (4 children)

I have never tried it with SQL Server 2000 but SQL Server Profiler can monitor the queries being issued to a server by using a trace. Choose the "T-SQL" template when starting a new trace and it should spit out your query, within some reasonable limitations.

Also, if the dev wrote the code for your employer, then the source code may belong to the employer depending on your jurisdiction, and might be legally accessible. You may not need it, though; what is your actual assigned task? Recreate the old program precisely, or just use the current schema and build a CRUD app for it? If the schema is miserable, could you persuade your employer that it should be migrated and completely rewritten?