討論串[SQL ] Trigger
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者Maisky (McDummy)時間16年前 (2009/04/17 23:56), 編輯資訊
0
0
0
內容預覽:
引述《ruby0104 (:))》之銘言:. 換一個方式來看好了, 在trigger內不使用 SQL statement,而是直接在. 更新前先做資料修改.. create trigger tr_cal_profit before update on tableA for each row. b

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者ruby0104 (:))時間16年前 (2009/04/17 08:57), 編輯資訊
0
0
0
內容預覽:
最近剛開始用 Mysql.... 想要建個 trigger 來自動更新 'Profit'. tableA (itemID,SellPrice,Cost,Profit). create trigger tr_cal_profit after update on tableA for each row.
(還有323個字)
首頁
上一頁
1
下一頁
尾頁