长沙幼儿园:求救:SQL作业

来源:百度文库 编辑:高校问答 时间:2024/05/15 19:51:20
在titles表上创建一个名为updateTitle的update 触发器。advance列不应更新为大于15000的值。

CREATE TRIGGER TupdateTitle ON titles AFTER update AS
if updated(advance)
if inserted.advance>15000
go