Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 identifying tables that data has been written to

Author  Topic 

michael_aussie
Starting Member

15 Posts

Posted - 2010-05-12 : 23:21:54
I am looking for some sort of log table that tells me where my data has "gone" in SQL Server2005.
In the application that runs on top of the SQL DB we enter information, but I can't find there it is going?
I assume there must be a logging file that lists at the least the table that has been modifed.

regards,
Michael.

nathans
Aged Yak Warrior

938 Posts

Posted - 2010-05-13 : 00:07:38
Use Profiler to trace the statements being executed by the app. This would expose to you stored procedure calls or ad hoc sql statements. This will lead you to which tables are being modified.
Go to Top of Page

michael_aussie
Starting Member

15 Posts

Posted - 2010-05-13 : 00:10:19
quote:
Originally posted by nathans

Use Profiler to trace the statements being executed by the app. This would expose to you stored procedure calls or ad hoc sql statements. This will lead you to which tables are being modified.


Hi Nathan - you're going to have to hold my hand... where is Profiler?
Go to Top of Page

nathans
Aged Yak Warrior

938 Posts

Posted - 2010-05-13 : 00:17:57
You can find under Tools menu in Mgmt Studio. This has some great screenshots to guide you:

http://www.databasejournal.com/features/mssql/article.php/3750161/Introduction-to-SQL-2005-Profiler-Part-1.htm

* dont use against production system without first reading up :)
Go to Top of Page

michael_aussie
Starting Member

15 Posts

Posted - 2010-05-13 : 00:22:32
quote:
Originally posted by nathans

You can find under Tools menu in Mgmt Studio. This has some great screenshots to guide you:

http://www.databasejournal.com/features/mssql/article.php/3750161/Introduction-to-SQL-2005-Profiler-Part-1.htm

* dont use against production system without first reading up :)


Thankyou so much.
I've been searching in the actual Server Management Studio. I weren't aware there were "extra" support programs.

Thankyou for taking your time to help me. I appreciate it.
Go to Top of Page

nathans
Aged Yak Warrior

938 Posts

Posted - 2010-05-13 : 00:25:05
Please post back if you run into problems.

- Nathan
Go to Top of Page
   

- Advertisement -