Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / August 2008

Tip: Looking for answers? Try searching our database.

Trigger to get log file transaction into a table.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hoardling1 - 20 Aug 2008 17:16 GMT
My scenario is:  I have a subscriber database that does not change often,
except for transactional replication.  I am presently tracking who, when and
what table is being changed from a trigger.  What I would also like to do is
track what exactly is being changed.  Now, I've thought about using the
inserted and deleted to get me the old and new, but I was wondering if I
could get the SQL statement from the log file on what has been changed.  This
way I can keep exact details of what was changed.

Thanks
Uri Dimant - 21 Aug 2008 06:23 GMT
What version are you using? SQL Server 2008has something similar

> My scenario is:  I have a subscriber database that does not change often,
> except for transactional replication.  I am presently tracking who, when
[quoted text clipped - 8 lines]
>
> Thanks
Hoardling1 - 21 Aug 2008 15:41 GMT
I am presently using 2000, but if you have information for 2005 and 2008 I
would also appreciate it because I will be transferring to those very soon.
Just right now it is for 2000.

>What version are you using? SQL Server 2008has something similar
>
[quoted text clipped - 3 lines]
>>
>> Thanks
Uri Dimant - 24 Aug 2008 08:14 GMT
Hi
http://www.databasejournal.com/features/mssql/article.php/3725476

>I am presently using 2000, but if you have information for 2005 and 2008 I
> would also appreciate it because I will be transferring to those very
[quoted text clipped - 9 lines]
>>>
>>> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.