PL/SQL (MOSC)

MOSC Banner

eNCOUNTERED THE SYMBOL DROP - iNSIDE A PROCEDURE

edited Jan 31, 2010 1:22PM in PL/SQL (MOSC) 7 commentsAnswered ✓
i HAVE THE FOLLOWING PROCEDURE BUT IT WAS CREATED WITH COMPILATION ERRORS:
CREATE OR REPLACE procedure CMPRTREL2.BACKUP_AND_TRUNCATE
IS
BEGIN
drop table TBL_PRTDATA_BACKUP;
create table TBL_PRTDATA_BACKUP as select * from TBL_PRTDATA;
truncate table TBL_PRTDATA;
END;
/

pls00103: "Encountered the symbol DROP

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center