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: Dave <David.C.Watson_at_gmail.com>
Date: 3 Mar 2007 19:46:10 -0800
Message-ID: <1172979970.790798.261700@h3g2000cwc.googlegroups.com>


Look up how to create a script on otn.oracle.com. I'm not sure about toad, but try running this in SQL*PLUS with ; then a forward slash after (/).

On Feb 24, 2: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
Received on Sat Mar 03 2007 - 21:46:10 CST

Original text of this message

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