how to find the particular row in table?(means suppose one
table contain 10 rows , in these 10 rows how to find the
particular row(example in 10 rows i want 5 row how)?

Answer Posted / ritu saini

SELECT TOP 5 column FROM table
ORDER BY NEWID()

Is This Answer Correct ?    14 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between delete & truncate commands?

556


Differentiate between ms sql server reporting services vs crystal reports?

495


What is difference between view and materialized view?

542


What do you understand by user-defined function in the sql server and explain the steps to create and execute a user-defined function in the sql server?

523


How can sql server instances be hidden? : sql server security

599






How can i Relate Tables in SSIS

579


What area unit the various kinds of info compression introduced in sql server 2008?

574


Do you know what is lock escalation?

583


What is attribute? : sql server analysis services, ssas

592


What is the difference between index seek vs. Index scan?

584


Can binary strings be converted into numeric or float data types?

561


what are the basic functions for master, msdb, model, tempdb and resource system databases? : sql server database administration

572


what is the difference between openrowset and openquery?

590


What is a functions and types in sql server?

600


What is ddl and dml commands?

516