The INQUIRE_SQL Statement—Retrieve Runtime Information
The INQUIRE_SQL statement returns information about the results of the last OpenSQL database statement issued by a session. Using INQUIRE_SQL you can obtain a variety of information, including:
• Error number and text (if the last statement resulted in an error)
• Whether a transaction is open
• Session identifier (in multiple‑session applications)
Note: The INQUIRE_SQL statement does not return status information about forms statements. Use the INQUIRE_FRS statement, described in the Forms-based Application Development Tools User Guide, to obtain information about forms statements.
Last modified date: 08/28/2024