Depending on your version of Oracle, you can use the DBMS_SQL package or
EXECUTE_IMMEDIATE to execute SQL DDL commands.
> -Original Message-
> From: Mark Liggayu [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 6:56 PM
> To: Multiple recipients of list ORACLE-L
> Subject: creating and dropping tables in plsql
>
>
> > i am creating a report that involves several tables
> > (15) but for me to get the right result I have to
> > create a plsql statement that creates a table that
> > queries a couple tables. This table wil be used to
> > create another table queried with another table and so
> > on. I was reading the plsql section and it said that
> > you cannot use DDL in a plsql statement. Is that
> > right, and if it is , is there a way around it? If I
> > could do it in a plsql statement how should I do it?
> >
> > thanks,
> > mark
> >
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Mark Liggayu
> INET: [EMAIL PROTECTED]
>
> Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
>
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).