SQL學習筆記8 ---觸發器

 建立觸發器spa create trigger deleteNewClass //在表NewClass中建立觸發器deleteNewClass ,表中有數據刪除時執行刪除表News中Classid=3的數據 on NewClass after delete as delete News from News,deleted whereNews.Classid=deleted.IDget     A
相關文章
相關標籤/搜索