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

Home -> Community -> Usenet -> c.d.o.misc -> Re: parameters in query

Re: parameters in query

From: Alan <not.me_at_uhuh.rcn.com>
Date: Thu, 07 Apr 2005 10:37:33 GMT
Message-ID: <N385e.451$Zn3.351@trnddc02>


You need to get a book that teaches your SQL, or read the one you have.

select * from order where id_order in (SELECT :id_order FROM ...)

"Tom" <mail_at_yahoo.com> wrote in message news:d331c9$6la$1_at_ss405.t-com.hr...
> i have lot of problems with letter query:
>
>
> select * from order where id_order in (1,5,9)
>
> oracle execute this query without problems, but
>
> select * from order where id_order in (:id_order)
>
> parametar is 1,5,9 oracle returns error
>
> any idea??
>
>
>
Received on Thu Apr 07 2005 - 05:37:33 CDT

Original text of this message

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