InterviewSolution
Saved Bookmarks
| 1. |
What Is The Difference Between Sqlca.sqlcode And The Value Returned By The Dberrorcode() Function? |
|
Answer» The DBErrorCode() function (not SQLCA.SQLCode) checks the results of Database access PERFORMED by a DATAWINDOW. We CHECK SQLCA.SQLCode after explicitly issuing EMBEDDED SQL STATEMENTS, such as Commit. The DBErrorCode() function (not SQLCA.SQLCode) checks the results of Database access performed by a DataWindow. We check SQLCA.SQLCode after explicitly issuing embedded SQL statements, such as Commit. |
|