Subject | Re: [firebird-support] Re: Stored procedure to return primary key after insert |
---|---|
Author | Helen Borrie |
Post date | 2006-09-30T01:07:04Z |
At 09:55 AM 30/09/2006, Adam wrote:
wherever you refer to the variable in a DSQL statement, otherwise not.
CODE_MEM = CODE_MEM || id_mem
or rather
CODE_MEM = coalesce(CODE_MEM,'') || id_mem;
./heLen
>Use semi colons where you want to include variables on the right handNo, that's not the rule. The rule is that you use the colon prefix
>side.
wherever you refer to the variable in a DSQL statement, otherwise not.
>Assuming you meant.No. Would be
>
>CODE_MEM = :CODE_MEM || :id_mem;
CODE_MEM = CODE_MEM || id_mem
or rather
CODE_MEM = coalesce(CODE_MEM,'') || id_mem;
./heLen