Subject | Re: [firebird-support] Multiple select inside procedures??? |
---|---|
Author | Helen Borrie |
Post date | 2005-05-01T05:02:51Z |
At 11:51 PM 30/04/2005 -0400, Fernando Buitrago wrote:
provides a set of rows through which your procedure execution can loop and
optionally output, row-by-row, as a multiple output set, using SUSPEND.
And using SELECT FIRST n in procedures is expensive and pointless, since
you can get the same set much more efficiently and cheaply in an ordered
FOR...SELECT loop.
./heLen
>You'v to select 1 record into procedures, using select first 1 fromCompletely incorrect. The FOR SELECT....INTO <variables> DO syntax
>xxxxx or use a bucle.
>You can not extract more then one record from a select.
>regards
>Fer
provides a set of rows through which your procedure execution can loop and
optionally output, row-by-row, as a multiple output set, using SUSPEND.
And using SELECT FIRST n in procedures is expensive and pointless, since
you can get the same set much more efficiently and cheaply in an ordered
FOR...SELECT loop.
./heLen