Solved

SQL Mgmt Studio - ACTIVITY MONITOR >> LOCKS BY OBJECT....?

Posted on 2010-08-25
3
677 Views
Last Modified: 2012-05-10
Experts,

I'm having some issues with our Application "locking-up" on certain menus. Our DB is SQL Server 2005. In my research I've noticed that in SQL Server Management Studio there it an Activity Monitor.

What does the LOCKS BY OBJECTS tell me...? Are these ALL locks that have occured regardless of status,....OR.... is this a listing of CURRENT LOCKS on the system?
0
Comment
Question by:MIKE
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
aelliso3 earned 500 total points
ID: 33525067
that is current locks ... basically the same as running exec sp_lock
0
 
LVL 1

Expert Comment

by:JensMig
ID: 33525102
You can use the XmlWriter class to create your XML.

You dont need to write it into a file, you can redirect it into memory if you like.

using (XmlWriter writer = XmlWriter.Create("some.xml"))
{
    writer.WriteStartDocument();
    writer.WriteStartElement("RootElement");

    writer.WriteString("This is nice & good coding. Even <This> works well");

    writer.WriteEndElement();
    writer.WriteEndDocument();
}

Open in new window

0
 
LVL 1

Expert Comment

by:JensMig
ID: 33525158
I am sorry, I hit the wrong tab and therefore the wrong question! Oops! Please ignore!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now