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 |
|
jauner
Starting Member
19 Posts |
Posted - 2009-08-05 : 14:37:50
|
| I need to create an update trigger that when a value in a certain field is changed it records the date in another field as long as a type field is equal to a certain value.Any ideas on how to do this? |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2009-08-05 : 14:46:25
|
update ytset another_field=d.certain_fieldfrom your_table ytjoin deleted d on d.yt_id = yt.yt_idwhere yt.type_field = certain_value No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
|
|
|