Thread: Re: parse error in set statement

Re: parse error in set statement

From
Date:
I have a test1.pgc program in which I have the statements
exec sql begin declare section;
char z[]="serializable";
exec sql end declare section;

exec sql set transaction isolation level :z;

The above returned a parse error at or near z, which is a host variable.

What is the mistake here?

Your response would be very much appreciated.

Thanks and Regards,

Radha