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: Use of an array NOT number cause error

Re: Use of an array NOT number cause error

From: Chris L. <diversos_at_uol.com.ar>
Date: Fri, 06 Jul 2007 10:31:41 -0700
Message-ID: <1183743101.135223.71830@g4g2000hsf.googlegroups.com>


On Jul 6, 2:16 pm, William Robertson <williamr2..._at_googlemail.com> wrote:

> If parameter PX is a SINARRAY then the IN clause should be
>
> IN (SELECT column_value FROM TABLE(px))
>
> and not
>
> IN (px)

I did search the docs for this too, and all I could find was

IN (SELECT column_value FROM TABLE(CAST(px as SINARRAY))

It's great to see that it works even without the CAST. Received on Fri Jul 06 2007 - 12:31:41 CDT

Original text of this message

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