|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Table associated with a data page?If you have page level lock information (ex: PAG: 8:1:2234094), how do you
determine what table is associated with that page? Thanks! use DBCC PAGE to dump the page & read m_objId from the page header... eg,
run the following from the Query Analyser: dbcc traceon(3604) go dbcc page (8, 1, 2234094, 1) go Regards, Greg Linwood SQL Server MVP Show quote "Cris_Benge" <CrisBe***@discussions.microsoft.com> wrote in message news:4E00BCBF-FBB6-43F8-95E3-ED6DE9548B0C@microsoft.com... > If you have page level lock information (ex: PAG: 8:1:2234094), how do you > determine what table is associated with that page? > > Thanks! While DBCC PAGE is not supported, you can see examples of its use here:
http://www.ctlcorp.com/support/sql/support1.html Which will allow you to manually get down to the table (and index) involved. Show quote "Cris_Benge" <CrisBe***@discussions.microsoft.com> wrote in message news:4E00BCBF-FBB6-43F8-95E3-ED6DE9548B0C@microsoft.com... > If you have page level lock information (ex: PAG: 8:1:2234094), how do you > determine what table is associated with that page? > > Thanks! "Aaron Bertrand [SQL Server MVP]" wrote: Thanks guys, exactly what I was looking for. FYI - that link references the > While DBCC PAGE is not supported, you can see examples of its use here: > http://www.ctlcorp.com/support/sql/support1.html > Which will allow you to manually get down to the table (and index) involved. > usage of DBCC PAGE from SQL 6.0 and the syntax has changed in 2000. I probably should have specified what version I was using, but thought I would give some feedback for future reference :) |
|||||||||||||||||||||||