Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A little SQL Server brain-teaser question
Message
De
31/10/2013 02:40:58
Walter Meester
HoogkarspelPays-Bas
 
 
À
30/10/2013 17:09:21
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Web
Divers
Thread ID:
01586880
Message ID:
01586920
Vues:
43
>
>SELECT * from myTable WHERE ID = @ID WITH (READPAST)
>
>
>That's a good guess....but a READPAST essentially ignores a row where it can't get a shared lock.
>
>Again, in this situation, if a shared lock could not be obtained, we want the last good committed version.
>
>Give you a hint....think "camera"

snapshots?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform