Ispirer Website
Ispirer Capabilities - PowerBuilder Conversion
Free Trial
In PowerBuilder, you can check whether a SQL statement is failed or not using SQLCode and SQLDBCode variables.
SQLCode contains one of the following return code after SQL statement execution:
SQLDBCode contains the database vendor-supplied status code.
For example, for Informix database, SQLDBCode contains the value -239 if a row cannot be inserted due to duplicate value in unique index.