Yes , Killing the process the is the answer of above question which removes the lock from table in database, but
Offcourse , it will terminate the current process which saves my data into database.
My Scenarion : We are processing policies and we are having concurrentConsu mers=20; so while working in concurrent environemnt,
1st consumer will locks the table for manipulation,
2nd consumers...
User Profile
Collapse
Profile Sidebar
Collapse
sbharate
Last Activity: Apr 18 '14, 08:41 AM
Joined: Feb 5 '14
Location:
-
Remove LockacquisitionException in SQL
How can I avoid Lockacquisition Exception in SQL.
My code is :
Code:ALTER DATABASE <database> SET READ_COMMITTED_SNAPSHOT ON; ALTER DATABASE <database> SET READ_COMMITTED_SNAPSHOT OFF; SELECT is_read_committed_snapshot_on FROM sys.databases WHERE name= 'YourDatabase'
Please help on this....
No activity results to display
Show More
Leave a comment: