sql触发器
1CREATE TRIGGER customer_state
2ON Customers
22FROM INSERT,UPDATE
4AS
5UPDATE Customers
6SET cust_state=Upper(cust_state)
7WHERE Customers.cust_id=inserted.cust_id;
2ON Customers
22FROM INSERT,UPDATE
4AS
5UPDATE Customers
6SET cust_state=Upper(cust_state)
7WHERE Customers.cust_id=inserted.cust_id;