Cursor stability vs ReadConsistency

14 views
Skip to first unread message

Attila Molnár

unread,
Mar 6, 2023, 3:29:56 PM3/6/23
to firebird-general
Hi *!

What is the difference between cursor stability and ReadConsistency.

Thank you!

Dmitry Yemanov

unread,
Mar 7, 2023, 10:25:43 AM3/7/23
to firebird...@googlegroups.com
06.03.2023 19:48, Attila Molnár wrote:
>
> What is the difference between cursor stability and ReadConsistency.

Cursor stability is about visibility of changes performed by the same
transaction/statement, e.g. INSERT INTO T SELECT * FROM T. Read
consistency is about visibility of changes performed by other
(concurrent) transactions. In both cases technically you can see the
changes, but the SQL standard declares that you shouldn't (during the
current statement execution -- it must be isolated).


Dmitry

Attila Molnár

unread,
Mar 8, 2023, 1:54:55 AM3/8/23
to firebird-general
Thanks Dmitry for the clarification!
Reply all
Reply to author
Forward
0 new messages