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 |
koolbadge
Starting Member
2 Posts |
Posted - 2006-09-14 : 10:40:03
|
Need help with a trigger please!Table: tblSomeTableField: [status]When [status] changes to "F", delete the rowIs this possible? |
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2006-09-14 : 10:46:23
|
Put this in your update triggerdelete dfrom inserted i inner join tblSomeTable d on i.some_pk = d.some_pkwhere i.[status] = 'F' KH |
 |
|
koolbadge
Starting Member
2 Posts |
Posted - 2006-09-14 : 11:12:33
|
Superb - thank you. |
 |
|
|
|
|