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

Home -> Community -> Usenet -> c.d.o.misc -> simple Stored procedure with drop, create table instruction...???

simple Stored procedure with drop, create table instruction...???

From: fred <frederic.servais_at_advalvas.be>
Date: Thu, 1 Jul 1999 16:17:13 +0200
Message-ID: <7lfta1$itd$1@news0.skynet.be>


I'd like to create a stored procedure looking like that:

CREATE PROCEDURE provToOper
AS BEGIN DROP sequence fs_ssis2_oper.COMPANY_SEQ; CREATE TABLE fs_ssis2_oper.COMPANY AS (SELECT * FROM fs_ssis2_prov.COMPANY);

END; But i always get an error message:

PLS-00103: Encountered the symbol "DROP" when expecting one of the foll...

(could not read what it is expecting... It would have been to easy ;-))

Any Idea?? Received on Thu Jul 01 1999 - 09:17:13 CDT

Original text of this message

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