Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A little SQL Server brain-teaser question
Message
From
30/10/2013 17:09:21
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Application:
Web
Miscellaneous
Thread ID:
01586880
Message ID:
01586906
Views:
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"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform