HPL/SQL is included to Apache Hive since version 2.0
HPL/SQL is included to Apache Hive since version 2.0
ERRORCODE built-in variable contains the return code of the last SQL statement. The code can be zero (0), negative or positive:
| ERRORCODE | Result |
| 0 | Successful execution |
| Positive values | Warning |
| Negative values | Error |
.if errorcode <> 0 then .quit 1
Compatibility: Teradata BTEQ.
Version: HPL/SQL 0.3.31
See also: