Re: Drop table/view
From: Lun Wing San (Oracle) <"Lun>
Date: 1996/12/12
Message-ID: <32AFCB2A.61B7_at_qrcsun.qrc.org>#1/1
Date: 1996/12/12
Message-ID: <32AFCB2A.61B7_at_qrcsun.qrc.org>#1/1
Guido vd Zweerde wrote:
>
> I'm trying to write a PL/SQL procedure to drop tables/views. The purpose is
> to drop
> only when the object exists. I've already written a PL/SQL block to check
> if the object
> exists, but when it exists and I tell it to drop the object it gives the
> next PL/SQL error message:
> PLS-00103 Encountered the symbol "DROP" when expecting one of the
> following:
DROP is a DDL statement. You need use DBMS_SQL to deal with it.
--- Name : Lun Wing San Title : Oracle Application Developer of Hong Kong Productivity Council Oracle Database Administrator and System Administrator of QRC Phone : (852)27885841Received on Thu Dec 12 1996 - 00:00:00 CET