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
What are the different types of columns types constraints in the sql server?
What is the architecture of ms sql reporting service?
Can you pass expressions to function parameters?
How to write a query with an inner join in ms sql server?
Define msdb database?
Is profiler the only tool that has the ability to audit and identify ddl events? : sql server security
What is difference between views and stored procedures?
what are defaults? : Sql server database administration
Explain the different types of backups available in sql server? : sql server database administration
Name 3 ways to get an accurate count of the number of records in a table?
Can a rule be bound to any column of any data type?
What are the dis_advantages of stored procedures, triggers, indexes?
How can sql server instances be hidden?
How to insert data with null values?
What is meant by referential integrity?