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: Oracle packages

Re: Oracle packages

From: Yong Huang <yong321_at_yahoo.com>
Date: 21 Nov 2002 11:50:58 -0800
Message-ID: <b3cb12d6.0211211150.114557d@posting.google.com>


odeborne_at_hotmail.com (Olivier Deborne) wrote in message news:<b0c018e3.0211210657.6c02b2e5_at_posting.google.com>...
> SELECT level,
> PART_NO,
> (SELECT DESCRIPTION FROM INVENTORY_PART WHERE PART_NO =
> RECIPE_STRUCTURE.PART_NO) PART_DESCRIPTION,
> LINE_SEQUENCE,

...
> It compiles just fine on my server (ora 90) but on another server
> which runs Oracle 8.0.1.7 I get the following error:
>
> PLS-00103: Encountered the symbol "SELECT" when expecting one of the
> following:
>
> ( - + mod not null others <an identifier>
> <a double-quoted delimited-identifier> <a bind variable> avg
> count c

I don't have 8.0.1.7 around. But 8.0.5 doesn't seem to support the expression in the SELECT clause. Try this on your 9i and 8.0 database to find out:

select username, (select user_id from user_users) userid from user_users;

Yong Huang Received on Thu Nov 21 2002 - 13:50:58 CST

Original text of this message

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