| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: variable in a cursor
Thank you, thank you, thank you, guys. Worked perfectly
Mike
In article <95nct1$pah$1_at_nnrp1.deja.com>,
michael_gressman_at_my-deja.com wrote:
> I declare a cursor as follows:
>
> CURSOR GETMACHINES IS
> SELECT DISTINCT MACH
> FROM WAFER.PLATE_INFO
> WHERE
> (FAC IS NOT NULL) AND
> (MACH_DATA = "somevalue");
>
> The problem is I don't know what the "somevalue" value is until later
> in the sql block. Is there a way I can setup this cursor to accept a
> value that I will pass into it later?
>
> Thanks,
> Mike
>
> Sent via Deja.com
> http://www.deja.com/
>
Sent via Deja.com
http://www.deja.com/
Received on Tue Feb 06 2001 - 08:27:10 CST
![]() |
![]() |