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 -> More than 1 filed in Select *

More than 1 filed in Select *

From: Pietro <pietrob_at_advertown.com>
Date: 31 Aug 2006 05:38:15 -0700
Message-ID: <1157027895.095986.125450@i3g2000cwc.googlegroups.com>


Hi all,

I am not able to complete the following problem, please help me.

Using the following table:

CREATE TABLE MYTEST
(
  COL1 NVARCHAR2(1),
  COL2 NVARCHAR2(1)
);

I can write: Select * from MYTEST;. (Obvious !!)

But I can't write: Select 0 as MYVALUE, * FROM MYTEST;

Error is: ORA-00936: missing expression

Why ?? Someone can help me ?

Many thanks in advance
Pietro Received on Thu Aug 31 2006 - 07:38:15 CDT

Original text of this message

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