Subject | Re: [firebird-support] execute statement for local variables |
---|---|
Author | André Knappstein, Controlling |
Post date | 2011-05-30T12:54:01Z |
OK> begin
OK> stm = 'pos' || :tmppos || '=1' ;
OK> execute statement stm;
OK> end
Interesting, to use "execute statement" for this. I would rather use "execute statement" only to execute SQL commands.
If you "parse" the statement yourself, you will find that it does not have any effect. It's just repeating the statement one line above.
ciao,
André
---
OK> stm = 'pos' || :tmppos || '=1' ;
OK> execute statement stm;
OK> end
Interesting, to use "execute statement" for this. I would rather use "execute statement" only to execute SQL commands.
If you "parse" the statement yourself, you will find that it does not have any effect. It's just repeating the statement one line above.
ciao,
André
---