Re: Any way to get at ANY data from a table that is "hanging" when you access it?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Larry Woods (larry_at_NOSPAMlwoods.com)
Date: 06/28/04


Date: Mon, 28 Jun 2004 14:07:26 -0700

The NOLOCK allows me to display the table

How do I release the LOCK?

Larry Woods
"Aaron [SQL Server MVP]" <ten.xoc@dnartreb.noraa> wrote in message
news:%23ToEFwTXEHA.556@tk2msftngp13.phx.gbl...
> > I am assuming that I have a "crashed" table on my database. I can get
> into
> > other tables on the database but when I try to query a particular table
I
> > hang until timed out.
>
> Did you try
> SELECT TOP 1 * FROM tbl WITH (NOLOCK)
> ?
>
> > ANY way to attempt any sort of analysis of "why" this is happening?
And,
> > any recovery besides complete DB recovery?
>
> Profiler/perfmon (check locks etc), DBCC OPENTRAN, sp_who2 + DBCC
> INPUTBUFFER...
>
> --
> http://www.aspfaq.com/
> (Reverse address to reply.)
>
>



Relevant Pages

  • Re: Parameterization of Object Models
    ... Lock down Access to the system -- ... Attempt to prevent deadlocks see The Concepts of Database Management, ... recovery; that is, you say that you recovered the database. ... database (called a backup or a save). ...
    (comp.lang.misc)
  • Re: Any way to get at ANY data from a table that is "hanging" when you access it?
    ... First see how many rows your query is pulling. ... DBCC checks and make sure you are not having an issue with the database. ... "Larry Woods" wrote in message ... > any recovery besides complete DB recovery? ...
    (microsoft.public.sqlserver.programming)
  • Any way to get at ANY data from a table that is "hanging" when you access it?
    ... I am assuming that I have a "crashed" table on my database. ... other tables on the database but when I try to query a particular table I ... any recovery besides complete DB recovery? ... Larry Woods ...
    (microsoft.public.sqlserver.programming)
  • Re: NTDS ISAM DataBase Corruption
    ... Did you tried the recover the corrupted Active Directory process that a gave ... This is brand new IBM Server. ... using symantec livestate recovery. ... Active Directory database is unavailable because it is damaged, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Crash recovery after shutdown immediate?
    ... database stated it wanted a recovery. ... it seems that a crash recovery occured. ... ARCH: Archiving is disabled ... After that, I did a backup, NOT a restore. ...
    (comp.databases.oracle.server)