Ah, yah, you don't want a cursor, then - if you want to select from it
again like that, you probably want a temp table. Here's some info
about those:

http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adg03sch.htm#7794


On 2/20/07, Russel Madere <[EMAIL PROTECTED]> wrote:
> I tried this.  This is what I tried:
>
> CURSOR cur_NetworkDisticts IN
> SELECT *
> FROM paTable p
> FULL OUTER JOIN ntkwDistable n ON p.cl1 = n.cl1;
>
> SELECT *
> FROM cur_NetworkDistricts
> WHERE c2 IS NOT NULL;
>
> The error I get is that the object cur_NetworkDisticts can not be found.  In 
> MS Foxpro and MS SQL, this code would work perfectly, not in Oracle (9.2).
>
> > There's lots of ways to do it. Depends on what you're trying to do.
> > You can do simple cursors by doing something like so:
> >
> > CURSOR myCursor IS
> > Select *
> > FROM mytable;
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:228402
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to