Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: creating and dropping tables in plsql
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:markliggayu_at_allweatherwindows.com]
> 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: markliggayu_at_allweatherwindows.com
>
> 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: ListGuru_at_fatcity.com (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: schmoldt_at_fyiowa.com 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: ListGuru_at_fatcity.com (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).Received on Wed Jun 06 2001 - 20:14:55 CDT