當前位置:偏方大全网 - 藥品說明 - 為什麽我在SQL數據庫中創建觸發器時,總是說對象名無效?

為什麽我在SQL數據庫中創建觸發器時,總是說對象名無效?

if object_id('testan ') is not null

begin

drop trigger testan

end

go

create trigger testan on 藥品庫存表 for update\

as begin

if update(某個字段)

begin

print '記錄已被修改'

end

end

  • 上一篇:洗黑對頭發有害嗎?
  • 下一篇:有哪些非處方藥品可以預防豬流感
  • copyright 2024偏方大全网