If I have number of tables in my database and I want to know the number of records that table is consisting. What I have done so far is:
Select name as Product from sysobjects where xtype='U'
order by name
and I got the total tables. eg.
Product
--------
apple
nokia
sony
samsung
motorola
How to find the total number of records the table is containing?