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 is the difference in login security modes between v6.5 and 7.0? : Sql server database administration

1059


What are the extra roles available in msdb? : sql server security

1076


How can I check that whether automatic statistic update is enabled or not?

985


What is impersonation? What are the different impersonation options available in ssas? : sql server analysis services, ssas

922


How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?

1946


What are the different types of backups that exist?

1108


How to test odbc dsn connection settings?

967


How to delete duplicate rows in sql server?

1056


How to create a store procedure with encryption?

950


OPTIMIZATION OF SP,CURSOR,TRIGGERS

2705


What is optimization and its types?

912


Explain differences between web edition and business edition?

119


‘Order by’ is not allowed in a view how can you sort information from a view?

1019


Which table keeps the locking information?

880


How check triggers in sql server?

914