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: Putting multiple CREATE TABLE statements in one *.SQL is really not possible ?

Re: Putting multiple CREATE TABLE statements in one *.SQL is really not possible ?

From: Ed Prochak <edprochak_at_gmail.com>
Date: 26 Feb 2007 11:46:49 -0800
Message-ID: <1172519209.426601.224560@t69g2000cwt.googlegroups.com>


On Feb 24, 3:36 pm, pra..._at_nortel.com (Steven Prasil) wrote:
> I put a couple of CREATE TABLE statements into one sql sheet/file similar to:
>
> CREATE TABLE A ( ..... )
>
> CREATE TABLE B ( ..... )
>
> CREATE TABLE C ( ..... )
>
> and try to run them against an Oracle database. However Oracle resp. Toad/SQL Editor
> told me "Invalid option". Why ?
>
> Even when I append a semicolon after each CREATE TABLE statement it does not run.
>
> Is this really not possible ?
>
> Steven

Ignore my first reply, I hit send before I realized you had tried semicolons.

Perhaps this is a TOAD error? I cannot say. I use sqlplus or sqldeveloper. I also tend to put each CREATE TABLE command in a separate script file.

Try the TOAD manual.

   Ed. Received on Mon Feb 26 2007 - 13:46:49 CST

Original text of this message

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