Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Using query analyzer, name 3 ways you can get an accurate
count of the number of records in a table?

Answer Posted / mahmood

1) Select count(*) from tablename

2) sp_spaceused tablename

3) Select id from sysobjects where name ='tablename'
GO
Select * from sysindexes where id=? ---Put ID no. from
above query

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the pros and cons of putting a scalar function in a queries select list or in the where clause?

1175


What is collation sensitivity?

1005


Can we deploy SSRS reports on our personal website?

168


Explain the different index configurations a table can have?

903


How to configure odbc dsn with different port numbers?

1035


Explain the microsoft sql server delete command?

969


Can I use sql azure as a backup with log shipping or database mirroring?

156


How can you start sql server in different modes?

934


What does nvl stand for?

913


How to apply filtering criteria at group level with the having clause in ms sql server?

961


Explain cross join or cartesian product in sql?

854


What is a sql join?

965


What is clr ddl trigger?

920


how to do partition in sqlserver

2426


What are the aggregate and scalar functions?

1011