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...

How do you find the number of rows in a table?

Answer Posted / anand

select count(*) from table_name will hold good if there isn't any WHERE clause in it as it is a AGGREGATE Function.. (just additional information)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why should you use or avoid select * statements?

1071


How will you find out if there are expensive SQL statements running or not?

1069


what is a default tcp/ip socket assigned for sql server? : Sql server database administration

1112


What is the guest user account in sql server? What login is it mapped to it? : sql server security

1113


What is user-defined function? Explain its types i.e. Scalar and inline table value user-defined function?

938


What is row_number () and partition by in sql server?

1133


What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?

1219


What is the difference between Normalization and De-normalization?

1143


You are doing log shipping due to some reasons it is failing. How you will proceed from there

2115


What are three major types of constraints?

1174


how to take backup bcp out for a column in table in sql server?

2144


What is the Difference Between Primary and Foreign Key?

1064


What are clustered and non-clustered index?

1049


How to verify the port number of the sql server?

1251


Can we add an identity column to decimal datatype?

1042