Re: Help on PL/SQL
From: <no.spam_at_columbus.rr.com>
Date: Thu, 20 Jan 2000 19:14:47 GMT
Message-ID: <H8Jh4.7770$%%6.135519_at_typhoon.columbus.rr.com>
Date: Thu, 20 Jan 2000 19:14:47 GMT
Message-ID: <H8Jh4.7770$%%6.135519_at_typhoon.columbus.rr.com>
Data definition language (DDL) statements are not allowed under PL/SQL.
You could use the DBMS_SQL package to create dynamic SQL statements to create tables that way.
Tom Deseamus <tdeseamus_at_digital-hire.com> wrote:
: How come I cannot run this in a PL/SQL procedure
: CREATE TABLE STORERANK(ENAME VARCHAR2(25),RANKNO NUMBER(5));
: The compiler has a problem with the CREATE word.
: Thanks,
-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Ivan Samuelson * Staff Support Coordinator and * isamuels_at_columbus.rr.com Information Systems Consultant * Metro Information Services * http://home.columbus.rr.com/isamuels http://www.MetroIS.com * -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Received on Thu Jan 20 2000 - 20:14:47 CET