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.
| Author |
Topic |
|
ra_pa_ta
Starting Member
13 Posts |
Posted - 2011-09-26 : 19:17:55
|
| how do I write a query to select records into a archive table before the record is updated?this is the update statement :Update A Set A.ID = T.ID,A.Desc = T.Desc,A.Type = T.Type,A.strStatus = T.strStatus,A.smnyDecrementRate = From dbo.tblFinal As A Inner Join dbo.tblInitial As T on T.ID = A.ID |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-09-27 : 00:37:08
|
| select records into a archive table before the record is updated?why before update? what happens if update is rolledback?or do you mean values in table fields prior to update?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
|
|
|