Subject | Re: [firebird-support] How to assign the result of SELECT to a variable in a procedure |
---|---|
Author | Ann W. Harrison |
Post date | 2005-12-02T16:33:35Z |
peter_nn0 wrote:
WHERE W.ID = :proc_parameter
INTO :return_var
Regards
Ann
> Hi,select W.LNAME from WORKERS W
>
> In a stored procedure, I want is to assign the result of a SELECT
> statement to a variable - but can't make it work. I try something like
>
> return_var = select LNAME from WORKERS where WORKERS.ID
> = :proc_parameter;
>
WHERE W.ID = :proc_parameter
INTO :return_var
Regards
Ann