exec sql syntax

Embedded SQL statements must begin with the keywords exec sql and end with the keyword end-exec. The syntax for Embedded SQL statements is:

exec sql [at connection_name] sql_statement end-exec 

where: