The Inquire_ingres SQL statement returns diagnostic information about the last database statement that was executed. Inquire_ingres and inquire_sql are synonymous.
This statement has the following format:
EXEC SQL INQUIRE_INGRES (variable = object {, variable = object})