Enterprise Manager Locks Table



We have just moved a SQL Server database to a new server and since doing
this I have found that a lock is placed on a table whenever it is being
viewed in Enterprise Manager until the table is closed. This has the effect
of stopping our main program from updating the table whislt it is open in
Enterprise Manager. If the table is viewed by including WITH(NOLOCK) in the
select statment then our main program works okay. If the table is viewed
using SQL Anaylser then the table lock does not remain even with the result
set still open. I am not sure if this happens on all tables but the table in
question contains 125,000 rows.

I was not aware of this behavour before (when the database was on another
server) is this normal and is there a way of forcing Enterprise Manager to
include WITH(NOLOCK) by default or is something strange happening?


Thanks

Phil...


.



Relevant Pages

  • Re: Enterprise Manager Locks Table
    ... > Andrew J. Kelly SQL MVP ... >> We have just moved a SQL Server database to a new server and since doing ... >> this I have found that a lock is placed on a table whenever it is being ... >> viewed in Enterprise Manager until the table is closed. ...
    (microsoft.public.sqlserver.tools)
  • Re: Enterprise Manager Locks Table
    ... Andrew J. Kelly SQL MVP ... > We have just moved a SQL Server database to a new server and since doing ... > viewed in Enterprise Manager until the table is closed. ... > the table is viewed using SQL Anaylser then the table lock does not remain ...
    (microsoft.public.sqlserver.tools)
  • Re: Database path from DSN (MSDE) (2nd. attempt)
    ... it is not possible to open Access in exclusive mode. ... a lock field using MsAccess (I didn't continue testing with SQL ... BeginTrans/CommitTrans pairs during the EOD. ... >In SQL Server, have a table that has a field that indicates all uses should ...
    (microsoft.public.vc.mfc)
  • HKLM locking
    ... It is not possible to lock the machine from the ... Vulnerability was discovered because one, ... server as the argument, lock will be performed on that server. ... void PrintLastErrorString(DWORD gla); ...
    (Vuln-Dev)
  • HKLM locking
    ... It is not possible to lock the machine from the ... Vulnerability was discovered because one, ... server as the argument, lock will be performed on that server. ... void PrintLastErrorString(DWORD gla); ...
    (Bugtraq)