Hi,

I have been researching about this topic, but i cannot find the specific answer for Pro*C

I have to use Pro*C since its a change in a working script.

But if i try to use something like this:

EXEC SQL BEGIN DECLARE SECTION;
char table[25];
EXEC SQL VAR tabla IS STRING;

EXEC SQL DECLARE c1 CURSOR FOR
SELECT
c1
from :table;

when i try to compile i get an error because of the variable :table.

Any help will be appreciated.

Regards.