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

select top 5 * from emp order by newid()

my question is , how this query get executed?

Answer Posted / kb

Random 5 rows are selected when newid() is used.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

935


how can a database be repaired? : Sql server administration

922


What is difference between cte and view?

855


What do you understand by the denormalisation?

909


Explain difference between cross join and full outer join?

953


What is the security principal at the server level that represents your session?

964


What are the differences between char and nchar in ms sql server?

1008


What is the order by used for?

965


How can I change procedure name in sql server?

973


On a windows server 2003 active – passive failover cluster, how do you find the node which is active?

1162


What are the tables in sql?

1038


Explain the creation and execution of a user-defined function in the sql server?

996


What is an expression in ms sql server?

1013


Why would you use sql agent?

1212


What is the difference between the export /import functions in sql studio and standalone sql manager? : sql server management studio

1066