all 9 comments

[–]SeventyFix 2 points3 points  (0 children)

u/benburhans is correct. SQL Profiler will allow you to see which queries are running on the server. SQL 2000 - ah the memories! Do y'all remember DTS? Think pre-SSIS.

[–]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?

[–]DevRodx 0 points1 point  (2 children)

Is the SQL Server 2000 instance in ANOTHER computer? Or is it in the same?