March 2012
Intermediate to advanced
442 pages
9h 31m
English
We can directly embed SQL SAVEPOINT commands to implement savepoints in SQLJ. Let's see how to do it.
TEST_SVPT created in the previous example. We can use the following command to create it:CREATE TABLE TEST_SVPT (
EMPNO INTEGER,
EMPNAME VARCHAR(20),
MGRNO INTEGER);
In this example, we will create a transaction having multiple savepoints and we will see how to use them:
Read now
Unlock full access