troubleshooting Question

READPAST error

Avatar of aionine
aionine asked on
Microsoft SQL Server 2005
6 Comments1 Solution1679 ViewsLast Modified:
I am using WITH (READPAST) hint in some embedded queries from .NET application to SQL Server 2005.
I am not setting the isolation level anyware, so presumably its the default READ COMMITED.
I am getting error:
"You can only specify the READPAST lock in the READ COMMITTED or REPEATABLE READ isolation levels".

Any clues?
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros