错误:
ORA-06550: line1, column 22:
PLS-00103 Encountered the symbol "end-of-file" when expecting one of the following:
* & = - + .......
PL/SQL 块:
DECLARE v_c number :=0;
BEGIN
SELECT COUNT(*) into v_c from all_sequences where sequence_name='TEST_SEQ' and sequence_owner='test';
IF v_c = 1 THEN
execute immediate 'DROP SEQUENCE test.TEST_SEQ';
END IF;
END;
/