Answer Posted / manoj savalia
Try This
SELECT SYS_OBJ.NAME AS "TABLE NAME"
, SYS_INDX.ROWCNT AS "ROW COUNT"
FROM SYSOBJECTS SYS_OBJ, SYSINDEXES SYS_INDX
WHERE SYS_INDX.ID = SYS_OBJ.ID
AND INDID IN(0,1)
AND XTYPE = 'U'
AND SYS_OBJ.NAME <> 'SYSDIAGRAMS'
AND SYS_INDX.ROWCNT>0
ORDER BY SYS_INDX.rowcnt DESC
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain what is dbcc?
Can we take the full database backup in log shipping?
what is an index? : Sql server database administration
Can you get second highest salary from the table?
You want to use a perspective in an mdx query. How do you select the perspective?
Explain iaas, paas and saas?
Explain what is it unwise to create wide clustered index keys?
According to you what goes into making the best database administrator? : sql server database administration
Which joins are sql server default?
Difference between LEN() and DATALENGTH() in sql server ?
Benefits of Stored Procedures?
Explain relational data?
How to create view in stored procedure sql server?
Are semicolons required at the end of sql statements in sql server 2005?
Which is the best place or learning center for MS SQL?????In Bangladesh?????