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
How to achieve Paging of records in SQL SERVER?
Can foreign key be duplicate?
How to make conditional sum in ssrs?
Explain iaas, paas and saas?
what do you understand by change data capture?
Explain indexed views and partitioned view with their syntax.
What are the differences between substr and charindex in sql server.
What are system databases into sql server (2005/2008) : sql server database administration
Is it safe to delete log files?
How is SQL Azure different than SQL server?
What is the use of attributehierarchyvisible ? : sql server analysis services, ssas
what are constraints? : Sql server database administration
What is raid and what are different types of raid levels?
Write a sql query to sort on different column name according to the parameters passed in the function?
what method you can use to reduce the overhead of Reporting Services data sources?