So this happens:
When I try to enter another command in the prompt it just outputs another line and doesn't run the command? How do I fix this and what causes it? I figured it may be that I missed a ;
in the file to end a command but I looked through my file and that wasn't so. Also in my practical sheet which teaches meh ow to write triggers:
CREATE SEQUENCE "DEPTNO_SEQ" MINVALUE 10 MAXVALUE 999999999990
INCREMENT BY 10 START WITH 10;
CREATE OR REPLACE TRIGGER "BI_DEPT"
BEFORE INSERT ON "DEPT"
FOR EACH ROW
BEGIN
SELECT "DEPTNO_SEQ".NEXTVAL INTO :NEW.DEPTNO FROM DUAL; END;
/
There is an example of a trigger notice the /
character at the end? What does it do? I tried loading my script with and without it and found the same problem. Also I am thinking it is a trigger problem as from the looks of the prompt it gets up to creating a sequence but doesn't create the two triggers that come after it in the file? Also I have researched about this and haven't found anything so this is my last resort. Please tell me the cause and how to fix this thanks.