Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Need some code.

$
0
0

Hi all,

my requirement is below,i need to write script .

can anyonescriptoutsomeDELETE,INSERTandUPDATEtriggersforme

Iwantthemtoinsertarowintoanaudittablesomakepartofthescriptcreatingtheaudittabletoo

itshouldinsertarowwithcolumnthattellwhomadethechange,when,whichkind(DELETE,INSERT,UPDATE)andgivetheoldandnewvalueforeachcolumninthetable(justpretendit'sa5columntablewithcol1,col2,col3,col4,col5fornow)

Thanks in adavnce.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>