Subject | Re: Re: [firebird-support] behavior of select into in a resultwith > 1 record |
---|---|
Author | Helen Borrie |
Post date | 2003-09-10T14:18:50Z |
At 09:52 PM 10/09/2003 +0800, you wrote:
a SP that performs SELECT....INTO <variables>.
values. EXECUTE PROCEDURE is correct for them.
heLen
>Hello,helen:EXECUTE PROCEDURE is fine for a singleton return set (the kind you get with
>
> >you wrote:
>
> >If you *want* to get multiple rows back, use a FOR SELECT...INTO
> ><variables> DO....SUSPEND and submit your request using a SELECT ... FROM
> >procedurename (parameter_list) statement instead of EXECUTE PROCEDURE
> >procedurename (parameter_list).
>
>
>You mean that 'EXECUTE PROCEDURE procedurename (parameter_list).' is not a
>good way?
a SP that performs SELECT....INTO <variables>.
>If the procedure hasn't return value,how use the syntax 'SELECT ... FROMYou don't use SELECT... FROM to execute procedures that don't have return
>procedurename (parameter_list)'?
values. EXECUTE PROCEDURE is correct for them.
heLen