Transaction Isolation Level: RepeatableRead

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
ccy
Posts: 10
Joined: Tue 04 Oct 2005 03:39

Transaction Isolation Level: RepeatableRead

Post by ccy » Wed 29 Mar 2006 09:34

Hi,

I am evaluating the corelab DBExpress driver for MSSQL. I am using Delphi 2006. I try to do this:

with FConnection.Params do begin
Values['SQLServer TransIsolation'] := 'RepeatableRead';
end;

But It seems doesn't work at all. Can MSSQL Server support RepeatableRead?

I tried the Interbase/Firebird and it works as expected.

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Thu 30 Mar 2006 12:03

MS SQL Server supports REPEATABLE READ transaction isolation level and such
code works well (but be careful, dbExpress applies parameters only on connect).
You can see it in profiler. For more information about transaction isolation levels please see MSDN.

Post Reply