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

Why use update_statistics command in sql server?

1040


Mention the uses of stored procedures.

962


How to round a numeric value to a specific precision?

1065


how do you determine the Load performance of any query in sql server {example how do u determine performance of a select stmnt which returns Dynamically many no of records ... some times 100,1000,10000 etc., }

2330


Explain identity in sql server?

995


What are tables in sql server?

1023


Can You Use A Stored Procedure To Provide Data To An Ssrs Report?

143


Why Master database is required?

1123


What are different types of schemas?

935


What is the difference between insensitive and scroll cursor?

1152


Give the query of getting last two records from the table in SQL SERVER?

940


Do you know what is lock escalation?

1001


Tell me what is normalization? Explain different forms of normalization?

1026


How many types of functions are there in sql server?

929


Help!!!!!!!!!!!! My database has gone offline, it is highlighted as 'Suspect'. Foolishly, i haven't got a recent back up. Is there a way of quickly restoring the database? Thank you

1738