You could try running dbcc page() with the page#, looking for an indid value in the header record. 'course a) this assumes the page is still allocated to the index in question by the time you get around to running dbcc page() and b) you'll need a client/front-end application to parse the page header info since you can't capture dbcc output in a piece of T-SQL code.
↧