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 |
LarryDC
Starting Member
6 Posts |
Posted - 2013-06-10 : 13:15:58
|
Hello,Is it possible to "Watch" a SQL table for any records being added in a table and then as soon as its added grap some of the fields and place it in another table?What would we use to perform this if it is possible? |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-06-10 : 13:20:08
|
yep...You need to write a trigger on the table for relevant actions like INSERT,UPDATE------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs |
|
|
TG
Master Smack Fu Yak Hacker
6065 Posts |
Posted - 2013-06-10 : 13:26:57
|
two typical ways that is done with all versions of sql server:1. sql replication2. trigger on subject table with logic to write to an audit tableBe One with the OptimizerTG |
|
|
|
|
|