Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: PL/SQL Problem
> What version are you using that allows CREATE TABLE and DROP TABLE?
>
It never has and as far as I know never will
> I have heard there is a package function DBMS_CMD that may allow such
> activity, but have never tried that. Do not even know the syntax for
> calling it.
The package you want is dbms_sql. Something along the lines of
declare
crtab intger := dbms_sql.open_cursor;
begin
dbms._sql.parse(crtab,'create table ......... ',dbms_sql.native');
end;
is what you are looking for.
Cheers,
Ian Received on Mon Sep 29 1997 - 00:00:00 CDT
![]() |
![]() |