Progress
Embedded SQL-92
Guide and Reference
Using an SQLCA for Error Handling
The SQL Communication Area (SQLCA) is a mechanism for returning the status of an SQL statement execution in an ESQL program. For example, the SQLCA reports an error if a SELECT statement has a reference to a table that does not exist in the database.
In ESQLC the SQLCA is a C Language structure. The ESQL precompiler automatically declares and defines a global SQLCA. The components of the SQLCA structure report information on the status of the execution of an SQL statement.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |