Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: PL/SQL package to create tables and/or triggers

Re: PL/SQL package to create tables and/or triggers

From: Ivan Bajon <ib_at_ed.dk>
Date: Tue, 21 Jul 1998 13:51:39 +0200
Message-ID: <6p1v5r$k95$1@news1.tele.dk>


Try this:

cursorid integer;
begin

    cursorid:=dbms_sql.open_cursor;

    dbms_sql.parse(cursorid, 'create table...', dbms_sql.v7);
    dbms_sql.execute(cursorid);
    dbms_sql.close_cursor(cursorid);

end;

Good luck
- Ivan Bajon

James wrote in message <35b41022.0_at_news.hawaii.rr.com>...
>Is there a PL/SQL package that will allow me to do this...i dont think
>dbms_sql or dbms_ddl
>will work.
>
>the ideal package
>
>Pac.Proc('create table test (x number)');
>
>thank you in advance,
>
>jf
>
>
Received on Tue Jul 21 1998 - 06:51:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US