作者:Ww不孤单_584 | 来源:互联网 | 2023-10-13 13:50
--触发器createtrigger[dbo].[tri_account]on[dbo].[account]fordeleteasdeleteaccountBackwhe
--触发器
create trigger [dbo].[tri_account] on [dbo].[account]
for delete
as
delete accountBack where account in (select account from deleted)
--外键
一、选择"关系"
二、更改"INSERT和UPDATE规范"