Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> PL/SQL Error when using trigger...
When using trigger there was some error...
SQL> CREATE OR REPLACE TRIGGER TRG_I_OWNER
2 BEFORE INSERT ON "OWNER_INFO"
3 FOR EACH ROW
4 DECLARE
5 I INTEGER;
6 BEGIN
7 IF :NEW.STORE_NO IS NULL THEN
8 SELECT STORE_NO_SEQ.NEXTVAL INTO I FROM DUAL;
9 :NEW.STORE_NO := I;
10 END IF;
11 END;
12 /
CREATE OR REPLACE TRIGGER TRG_I_OWNER
*
ERROR at line 1:
ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-320: the declaration of the type of this expression is
incomplete or malformed
Can anyone help me with this??? Received on Tue Aug 24 1999 - 02:20:47 CDT