|
-
Apr 18th, 2007, 04:52 AM
#1
Thread Starter
Fanatic Member
SQL Server Tigger Update
Hi all,
im trying to figure out how to do the following.
I have a table orders, tbl_Orders, and a backup orders table tbl_Orders_bak.
Each time a record is updated from the tbl_Orders i want to take a copy of the entire row before the update occurs and put it into the tbl_Orders_bak
what the best to do this. I would have thought a BEFORE UPDATE trigger but it doesnt exist in SQL Server
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|