Sample script that breaks down buffers by object (table, index) in the buffer cache. This script, contributed by Microsoft's Tom Davidson, requires SQL Server 2005.
Script Code
use Northwind
go
select b.database_id, db=db_name(b.database_id)
,p.object_id
,object_name(p.object...
[More]