Subject INTO variable
Author Tiago GouvĂȘa de Oliveira
Hi all !

First, excuse my poor english..

I'm trying to put the result set of an 'execute statement' into a output variable thats are changeable.. like

execute statement 'SELECT MAX(CODIGO) FROM TABELA' into :MAT_1

I need to be

execute statement 'SELECT MAX(CODIGO) FROM TABELA' into :MAT_||:NUM

I tried

execute statement 'SELECT MAX(CODIGO) FROM TABELA into :MAT_1'

But I seen that execute statement recuse the 'into' on the parameter..

What can I do to change the output variable by string ?

Someone can help me !?!

Thanks !
Tiago GouvĂȘa

[Non-text portions of this message have been removed]