0
我正在創建一個觸發器並收到一些錯誤,我無法理解。請問誰能幫助我。SQL觸發器錯誤:無效的規格
create or REPLACE TRIGGER trig_data
BEFORE INSERT
ON data_db REFERENCING OLD AS OLD AND NEW AS NEW
FOR EACH ROW
BEGIN
SELECT RAHUL_SEQUENCE.NEXTVAL INTO :NEW.USERID FROM DUAL;
END;
Error report:
ORA-04079: invalid trigger specification
04079. 00000 - "invalid trigger specification"
*Cause: The create TRIGGER statement is invalid.
*Action: Check the statement for correct syntax.
除非我錯過了某些東西,否則這似乎是一個oracle觸發器。你能否從問題中刪除sql-server標籤? – MaasSql 2010-06-30 14:14:17