On Thu, Mar 26, 2009 at 2:38 PM, Matt Jarvis <[email protected]> wrote: > > Trying to track down some oddball behavior and suspect a file lock > issue... > > I'm trying to get a list of tables (or whatever) that SQL Server 2000 > might have locked and am attempting to use a combo of sp_lock and a > SELECT of some sort to make it happen. I'm not familiar enough with this > stuff to know how to manipulate output from one thing to another. > > Something like: > > exec sp_lock( select id from sysobjects); > > Am I on the right track or can someone show me the magic key? -------------------------------------------
This should give you a good heads up on locking and how diverse it can get. <http://www.mssqlcity.com/Articles/Adm/SQL70Locks.htm> -- Stephen Russell Sr. Production Systems Programmer Web and Windows Development Independent Contractor Memphis TN 901.246-0159 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

