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
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Audit Triggers

Author  Topic 

scelamko
Constraint Violating Yak Guru

309 Posts

Posted - 2006-07-13 : 11:07:59
guys,

I have table which holds sensitive information, I want to fire a trigger which stores the true row of the table before any DML is run on that row.

For the same purpose I am not sure which type of trigger I should use

- after insert, delete, update
- for insert, delete, update
- instead of insert, delete, update

any suggestions/inputs would help

Thanks

nr
SQLTeam MVY

12543 Posts

Posted - 2006-07-13 : 11:09:35
Usually after update, delete.

Have a look at
http://www.nigelrivett.net/#Triggers

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -