Sql server® 2012 t-sql fundamentals



Download 10,93 Mb.
Pdf ko'rish
bet348/443
Sana26.01.2022
Hajmi10,93 Mb.
#411755
1   ...   344   345   346   347   348   349   350   351   ...   443
Bog'liq
BookSQL

The 

READ UNCOMMITTED

 Isolation Level

READ UNCOMMITTED is the lowest available isolation level. In this isolation level, a reader doesn’t 

ask for a shared lock. A reader that doesn’t ask for a shared lock can never be in conflict with a writer 

that is holding an exclusive lock. This means that the reader can read uncommitted changes (also 

known as dirty reads). It also means that the reader won’t interfere with a writer that asks for an ex-

clusive lock. In other words, a writer can change data while a reader that is running under the READ 

UNCOMMITTED isolation level reads data.

To see how an uncommitted read (dirty read) works, open two query windows (I will refer to them 

as Connection 1 and Connection 2). Make sure that in all connections your database context is that of 

the sample database TSQL2012.

Run the following code in Connection 1 to open a transaction, update the unit price of product 2 

by adding 1.00 to its current price (19.00), and then query the product’s row.

www.it-ebooks.info




Download 10,93 Mb.

Do'stlaringiz bilan baham:
1   ...   344   345   346   347   348   349   350   351   ...   443




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish