Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: create table SOLVED
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
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
------_=_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><FONT SIZE=3D2 FACE=3D"Courier New"> </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">Thanks deepak</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New"></FONT>
</P>
<UL>
<P><FONT SIZE=3D1 FACE=3D"Arial">-----Message d'origine-----</FONT>
<BR><B><FONT SIZE=3D1 =
FACE=3D"Arial">De: </FONT></B> <FONT SIZE=3D1 =
FACE=3D"Arial">DEMANCHE Luc (Cetelem) </FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"Arial">Date: </FONT></B> <FONT =
SIZE=3D1 FACE=3D"Arial">mardi 7 novembre 2000 17:53</FONT>
<BR><B><FONT SIZE=3D1 =
FACE=3D"Arial">=C0: </FONT></B> <FONT =
SIZE=3D1 FACE=3D"Arial">'oracle-l_at_fatcity.com'</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"Arial">Objet: </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 : =
</FONT>
<BR> <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> <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