- 9
- 0
- 约2.92万字
- 约 62页
- 2016-09-20 发布于浙江
- 举报
* * Triggers in MS-SQLServer Syntax create trigger overdraft-trigger on accountfor updateas if inserted.balance 0begin insert into borrower (select customer-name,account-number from depositor, inserted where inserted.account-number = depositor.account-number) insert into loan values (inserted.account-number, inserted.branch-name, – inserted.balance) update account set balance = 0 from account, inserted where account.account-number = inserted.account-numberend When Not
您可能关注的文档
- “大手拉小手,共筑祖国新未来”社会实践报告.docx
- “大手拉小手,共筑祖国新未来”实践报告.doc
- 《Database System Concepts Course Introduction》ch01.ppt
- 《Database System Concepts Course Introduction》ch02.ppt
- 《Database System Concepts Course Introduction》ch03.ppt
- 《Database System Concepts Course Introduction》ch06.ppt
- 《Database System Concepts Course Introduction》ch07.ppt
- 《Database System Concepts Course Introduction》ch12.ppt
- 《Database System Concepts Course Introduction》ch13.ppt
- 《Database System Concepts Course Introduction》ch14.ppt
原创力文档

文档评论(0)