JDBC_ROLLBACK
|
Syntax: |
JDBC_ROLLBACK(<File Number>) or JDBC_ROLLBACK(<Name of Index File>)
|
||||
|
Meaning: |
Executes the rollback command. The current
transaction is aborted. JDBC_ROLLBACK
returns the result 0 if no error occurred, otherwise –1. If an error occurs, the variable OK has the value 1700 and the function JDBC_GET_LAST_ERROR$ returns the error text. |
||||
|
Parameter: |
|
||||
|
Sample: |
H% = JDBC_ROLLBACK(SALES) IF H% = -1 THEN ERRORMES
= JDBC_GET_LAST_ERROR$ ENDIF |
||||
|
See also: |
|