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: Select in Select

Re: Select in Select

From: Frederic DEBRUS <frederic.debrus_at_ces-cdr.be>
Date: 18 Oct 1999 12:06:34 GMT
Message-ID: <01bf1961$296e9ba0$3e35a99e@gal159a>


You cannot use select in select with Oracle rewrite the query

Bessenyei Zsolt <bessenyei_at_flexum.hu> wrote in article <380AFD1B.CEB99D41_at_flexum.hu>...
> Hello,
>
> When I run this query:
>
> select field1, (select field2 from table2 where field3=1) from table1
>
> this error message appears:
>
> ORA-00936: missing expression
>
> Exactly the same query runs well on Sybase SQL Anywhere and MSSQL.
>
> How can I use a SELECT as a field ?
>
> Zsolt Bessenyei
>
Received on Mon Oct 18 1999 - 07:06:34 CDT

Original text of this message

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