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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: create table SOLVED

RE: create table SOLVED

From: DEMANCHE Luc (Cetelem) <luc.demanche_at_cetelem.fr>
Date: Wed, 8 Nov 2000 10:01:04 +0100
Message-Id: <10674.121407@fatcity.com>


This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.

------_=_NextPart_001_01C04962.725E3C58
Content-Type: text/plain;

        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all=20

It was a syntax problem :=20
It should be :=20
create table table2 tablespace tools as (select * from table1) ;=20 instead of=20
create table table2 as (select * from table1) tablespace tools;=20

 =20
Thanks deepak=20
 =20

	-----Message d'origine-----=20
De:     DEMANCHE Luc (Cetelem)=20
Date:   mardi 7 novembre 2000 17:53=20
=C0:      'oracle-l_at_fatcity.com'=20

Objet: create table=20

        Hi gurus,=20

	I have no problem with this : =20
        create table table1 (a number) tablespace tools=20

	But I can't do this :=20
        create table table2 as (select * from table1) tablespace tools=20

	What is the solution=20

	TIA=20

	-----------------=20

Luc Demanche=20
CETELEM=20
T=E9l.: 01-46-39-14-49=20
Fax : 01-46-39-59-88=20

------_=_NextPart_001_01C04962.725E3C58
Content-Type: text/html;

        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>RE: create table SOLVED</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Hi all</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">It was a syntax problem :</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">It should be : </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">create table table2<I> =
tablespace tools</I> as (select * from table1) ;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">instead of</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">create table =
table2</FONT><I><FONT SIZE=3D2 FACE=3D"Courier New"></FONT></I> <FONT =

SIZE=3D2 FACE=3D"Courier New">as (select * from table1)</FONT><I> <FONT =
SIZE=3D2 FACE=3D"Courier New">tablespace tools</FONT></I><FONT SIZE=3D2 =
FACE=3D"Courier New">;</FONT>

</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">Thanks deepak</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New"></FONT>&nbsp;
</P>
<UL>
<P><FONT SIZE=3D1 FACE=3D"Arial">-----Message d'origine-----</FONT>
<BR><B><FONT SIZE=3D1 =

FACE=3D"Arial">De:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=3D1 = FACE=3D"Arial">DEMANCHE Luc (Cetelem) </FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"Arial">Date:&nbsp;&nbsp;</FONT></B> <FONT =
SIZE=3D1 FACE=3D"Arial">mardi 7 novembre 2000 17:53</FONT>
<BR><B><FONT SIZE=3D1 =

FACE=3D"Arial">=C0:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT = SIZE=3D1 FACE=3D"Arial">'oracle-l_at_fatcity.com'</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"Arial">Objet:&nbsp;</FONT></B> <FONT =
SIZE=3D1 FACE=3D"Arial">create table</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi gurus,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I have no problem with this :&nbsp; =
</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">create table table1 (a number) tablespace tools</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">But I can't do this :</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">create table table2 as (select * from table1) tablespace = tools</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">What is the solution</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">TIA</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">-----------------</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Luc Demanche</FONT>
<BR><B><I><FONT FACE=3D"Arial">CETELEM</FONT></I></B>
<BR><FONT SIZE=3D2 FACE=3D"Arial">T=E9l.: 01-46-39-14-49</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Fax : 01-46-39-59-88</FONT>
Received on Wed Nov 08 2000 - 03:01:04 CST

Original text of this message

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