SQL-J Language Reference,
Page 7 of 118


[top]
[prev]
[next]
Documentation Top
Global Index
Reference Manual
TOC Index
Grammar index
Developer's Guide
TOC Index
Tuning Cloudscape
TOC Index

AT ISOLATION clause

Allows a user to specify an isolation level for a SELECT statement without committing the current transaction. This clause changes the isolation level for the current statement only, not the transaction.

The other ways of changing the isolation level for a connection, JDBC method calls and the SET TRANSACTION ISOLATION LEVEL statement, commit the current transaction.

For information about isolation levels, see “Locking, Concurrency, and Isolation” in the Cloudscape Developer’s Guide.

Syntax

AT ISOLATION { READ COMMITTED | SERIALIZABLE }

Examples

-- set the isolation level to SERIALIZABLE for this
-- statement only
SELECT *
FROM Flights
WHERE flight_id BETWEEN 'AA1111' AND 'AA1112'
AT ISOLATION SERIALIZABLE
[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.