skip to main content

Embedded SQL Statements : ROLLBACK

ROLLBACK
The ROLLBACK statement aborts the current transaction.
General format
EXEC SQL [AT Database]
  ROLLBACK {WORK       } [RELEASE]
General Rules
1.
Database identifies the active connection that will execute the query and must be previously defined using a Format 4 DECLARE statement.
2.
3.
Examples
Rollback transaction
exec sql rollback work end-exec

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left