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 / murthy
declare @n int
set @n=5
select top (@n) * from employees
except
select top (@n-1) * from employees
GO
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What happens if the update subquery returns multiple rows in ms sql server?
How to use go command in "sqlcmd"?
Explain comment on transactions?
How can we call UDF(User Define Function) using C# code in ASP.net ?
What are indexers?
Why union all is faster than union?
What happens if date-only values are provided as date and time literals?
How many types of database relationship in sql server?
what is the difference between them (ethernet networks and token ring networks)? : Sql server database administration
Can we call future method from queueable?
You want to generate a report that is formatted as a chart. Can you use the report wizard to create such a report?
What is an etl file?
what are defaults? Is there a column to which a default can't be bound? : Sql server database administration
what is a self join? Explain it with an example? : Sql server database administration
How to convert binary strings into integers in ms sql server?