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 -> Re: A simple (but stupid) question.

Re: A simple (but stupid) question.

From: Phung Hoang-Vu <hoang-vu_at_freesurf.ch>
Date: Wed, 22 Dec 1999 01:09:34 +0100
Message-ID: <386016BE.B313A39B@freesurf.ch>


Ed Prochak wrote:
>
> In article <E4p64.3626$PV6.376554_at_news4.usenetserver.com>,
> "Wm. G. Urquhart" <william_at_devnet-uk.net> wrote:
> > I would like to include the logic in my script to drop a table (for
> example)
> > if it already exists. How do I do this.
> >
> > William.
> >
> > P.S. I did say that it was stupid.
> >
>
> Just put it in the same SQL script like this:
>
> drop table friends;
> create table friends
> (Name VARCHAR2(25) not null,
> Age NUMBER,
> birthdate DATE);
> insert into friends values
> ('BART SARJEANT',
> 22,
> TO_DATE('12-MAY-1946','DD-MON-YYYY') );
>
> and START it (START file.sql).
>
> BTW there are no stupid questions, only stupid answers.
You are right ! But are you joking ? Otherwise think to your answer :-) Received on Tue Dec 21 1999 - 18:09:34 CST

Original text of this message

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