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
 Updated Tables, Columns.

Author  Topic 

andreiph
Starting Member

3 Posts

Posted - 2011-03-14 : 21:39:34
Hi,

This might have been asked before but I can't seem to find an answer (or a simple answer that I'd understand).

We ran a report and managed to get all the updatedtable by a specific user including the timestamp. Is there any way to check which column's been updated?

Cheers!

Andrei

Lumbago
Norsk Yak Master

3271 Posts

Posted - 2011-03-15 : 06:10:37
quote:
We ran a report and managed to get all the updatedtable by a specific user including the timestamp.
Can you elaborate a bit? What kind of report? And the "updatedtable"...is this the updated virtual table that is exposed in a trigger?




- Lumbago
My blog-> http://thefirstsql.com/2011/02/07/regular-expressions-advanced-string-matching-and-new-split-function-sql-server-2008-r2/
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2011-03-15 : 10:26:11
Seems that you may need to use a trigger

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

andreiph
Starting Member

3 Posts

Posted - 2011-03-15 : 16:57:07
quote:
Originally posted by Lumbago

quote:
We ran a report and managed to get all the updatedtable by a specific user including the timestamp.
Can you elaborate a bit? What kind of report? And the "updatedtable"...is this the updated virtual table that is exposed in a trigger?



It's pretty much any table being updated. So I'm guessing there's no system table that I can look up without triggers at the design of the DB.

Thanks.
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2011-03-15 : 17:00:57
UNLESS you have programmed something, then, no

http://weblogs.sqlteam.com/brettk/archive/2006/08/10/11126.aspx



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx


Want to help yourself?

http://msdn.microsoft.com/en-us/library/ms130214.aspx

http://weblogs.sqlteam.com/brettk/

http://brettkaiser.blogspot.com/


Go to Top of Page

andreiph
Starting Member

3 Posts

Posted - 2011-03-15 : 17:58:48
quote:
Originally posted by X002548

UNLESS you have programmed something, then, no



thanks mate
Go to Top of Page
   

- Advertisement -