how to get the rowid/rownumbes of a table in sqlserver
Answer Posted / vimal
SELECT ROW_NUMBER() OVER(ORDER BY eName ASC) AS Rno, *
FROM emp
asc or desc required
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
How do I start sql server?
What is the osql utility?
Can you explain various data region available in ssrs with their use?
How can you know if the row fetched from cursor is still valid in underlying table?
What is the sql profiler?
What is sql server profiler trace data file?
Why do you need a sql server?
How to perform key word search in tables?
What is the data type of time?
What is page-level compression?
How to select an exiting database using mssql_select_db()?
Can we linked SharePoint to a SQL database?
Describe the left outer join & right outer join. : sql server database administration
Explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?
What do you mean by data manipulation language?