Following is my Query unable to update when Executed table gets lock Execution does not stop even for an hour.
update Employees
set Status = 'Close'
where statusid IN (select statusid
from MyView
where DownloadedDate ='2014-07-27 00:00:00.000')
here Employee contains 3,00,000 of records and Subquery return 1,50,000 Empid
i tried for 2 days with various ways but unable to solve it Even Using Cursor its not working