Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: What syntax better (faster,cool)!
When you execute the open cursor, you exec the select ....
Can you use the select only if you are sure the select return 1 value else
too many rows is the exception to capture.
In article <74g64v$393$1_at_nnrp1.dejanews.com>,
sokol_at_opsb.ru wrote:
>
>
> select COL into VAR from TABLE;
>
> or
>
> open CURSOR;
> fetch COL into VAR;
> close CURSOR;
>
> Tanks.
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Mon Dec 07 1998 - 10:02:43 CST