Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display the isolation level

Is it possible to display the current isolation config set in Sybase Adaptive Server Enterprise 12.5.4?

If so, then how can I display it?

like image 896
mtk Avatar asked Sep 13 '12 09:09

mtk


People also ask

How do you determine isolation level?

To check the isolation level(s) present in the statement, the simplest way is to look at the T-SQL itself and see if any hints are present. If not, it is operating at the isolation level of the connection.

What are the 4 levels of isolation?

InnoDB offers all four transaction isolation levels described by the SQL:1992 standard: READ UNCOMMITTED , READ COMMITTED , REPEATABLE READ , and SERIALIZABLE .

What is meant by isolation level?

Isolation levels are described for which concurrency side effects are allowed, such as dirty reads or phantom reads. Transaction isolation levels control the following effects: Whether locks are taken when data is read, and what type of locks are requested.


1 Answers

Try select from @@isolation variable :

select @@isolation

You can also read this. It says:

The current isolation level for a session 
can be determined with the global variable @@isolation.
like image 153
Robert Avatar answered Nov 09 '22 06:11

Robert