SQL tutorial | Interview questions | Oracle
Would you like to react to this message? Create an account in a few clicks or log in to continue.

What Are the General Rules on Data Consistency?

Go down

What Are the General Rules on Data Consistency? Empty What Are the General Rules on Data Consistency?

Post by Micheal Sun Jan 17, 2010 3:38 am

All SQL statements always work with a snapshot of the database to provide data consistency.
For READ WRITE transactions, the snapshot is taken when each statement starts.
For READ ONLY transactions, the snapshot is taken when the transaction starts.
The snapshot never include uncommitted changes from other transactions.
The snapshot always include uncommitted changes from its own transaction.

Micheal
Admin

Posts : 243
Join date : 2010-01-10

http://sql-tutorial.co.cc

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum