Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modifying stored procedures
Message
De
06/06/2002 07:34:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00664934
Message ID:
00665339
Vues:
26
>Hi, Hilmar!
>
>>>
>Can you briefly explain what is a "dirty read"?
><<
>
>"Dirty read" is the possibilitiy of all xBase databases to be able to read a record which is locked by another!
>This works due to a technical trick:
>- Locks are setted on a specific area of the DBF file.
>- But not the real location of the locked record in the DBF file is locked, but a virtual region outside of EOF.
>- If anybody other try to make the same virtual lock, it denied.
>- But if anybody want's to read the locked record - it works!
>
>BTW: This is the history, I'm not sure about behind the scenes of the current VFP versions. And I don't know how backend databases like SQL2000 work!
>
>So far!

Thanks for the information. I wasn't aware of how locking worked, nor about the name, "dirty read". I assume the "dirty" part is that another user can change the record in the meantime.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform