8. OpenSQL Statements
:
EXECUTE IMMEDIATE
:
Syntax
Share this page
Syntax
The EXECUTE IMMEDIATE statement has the following format:
EXEC SQL EXECUTE IMMEDIATE
statement_string
[INTO
variable
{,
variable
} | USING [DESCRIPTOR]
descriptor_name
[EXEC SQL BEGIN;
program_code
EXEC SQL END;]]