This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
sqlcode [2015/09/23 20:27] 127.0.0.1 external edit |
sqlcode [2016/03/31 15:08] (current) dmtolpeko |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== SQLCODE - PL/HQL Reference ====== | + | ====== SQLCODE ====== |
SQLCODE built-in variable contains the return code of the last SQL statement. The code can be zero (0), negative or positive: | SQLCODE built-in variable contains the return code of the last SQL statement. The code can be zero (0), negative or positive: | ||
Line 23: | Line 23: | ||
</code> | </code> | ||
- | **Compatibility:** IBM DB2. | + | **Compatibility:** IBM DB2, Teradata. |
- | **Version:** PL/HQL 0.01 | + | **Version:** HPL/SQL 0.1 |
**See also:** | **See also:** | ||
* [[error-handling|Error Handling]] | * [[error-handling|Error Handling]] | ||
+ | * [[errorcode|ERRORCODE]] | ||
* [[sqlstate|SQLSTATE]] | * [[sqlstate|SQLSTATE]] | ||
* [[get-diagnostics|GET DIAGNOSTICS]] | * [[get-diagnostics|GET DIAGNOSTICS]] | ||
* [[resignal|RESIGNAL]] | * [[resignal|RESIGNAL]] |