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 to get the rowid/rownumbes of a table in sqlserver

Answer Posted / vivek

Select Count(*) as ro_no from <tablename>

Is This Answer Correct ?    6 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain sql server service broker?

968


How can I tell if sql server is 32 or 64 bit?

949


What is difference between equi join and inner join?

937


What is the difference between char and varchar2 datatype in sql?

1058


What is the difference between a local and a global temporary table?

1106


You want to implement the one-to-many relationship while designing tables. How would you do it?

950


Mention the different types of replication in sql server.

1014


Explain atomicity?

1035


How to fetch the next row from a cursor with a "fetch" statement?

1065


You are creating an application where users are asked their gender in the gender combo box you have three options: ‘male’ , ‘female’ and ‘i choose not to disclose’ these options are stored in the table as 1, 0 or null which datatype should you use?

1001


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

1979


What is dynamic cursor in SQL SERVER?

1073


What is enhanced database mirroring in sql server 2008?

961


what is difference between NULL and ISNULL in SQL Server 2008?

1008


What are the new features introduced in SQL Server 2000 (or the latest release of SQL Server at the time of your interview)? What changed between the previous version of SQL Server and the current version?

1069