SELECT object_name (i.id) TableName,
rows as RowCnt
FROM sysindexes i
INNER JOIN sysObjects o
ON (o.id = i.id AND o.xType = 'U ')
WHERE indid < 2
ORDER BY RowCnt desc,TableName
Easy come,Easy go.目前专注项目管理开放平台的设计,大数据的企事业应用