By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,747 Members | 1,482 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,747 IT Pros & Developers. It's quick & easy.

Remove LockacquisitionException in SQL

P: 2
How can I avoid LockacquisitionException in SQL.

My code is :
Expand|Select|Wrap|Line Numbers
  1. ALTER DATABASE <database> SET READ_COMMITTED_SNAPSHOT ON;
  2. ALTER DATABASE <database> SET READ_COMMITTED_SNAPSHOT OFF;
  3.  
  4. SELECT is_read_committed_snapshot_on FROM
  5. sys.databases WHERE name= 'YourDatabase'
Which similar type of SQL quy (sic - key?) should be used to avoid LockacquisitionException ???

Please help on this.
Thanks in advance.
Feb 5 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.