how to get the rowid/rownumbes of a table in sqlserver
Answer Posted / dhivakar
SELECT
ROW_NUMBER() OVER (ORDER BY emp_id) AS rowid,
*
FROM employee
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the approximate numeric data types?
what is a major difference between sql server 6.5 and 7.0 platform wise? : Sql server database administration
Explain query editor regions
How do I find information about the install locations for the various instances running on a computer?
How does using a separate hard drive for several database objects improves performance right away?
what is normalization? : Sql server database administration
How can sql injection be stopped? : sql server security
What is single-user mode?
what is an extended stored procedure? Can you instantiate a com object by using t-sql? : Sql server database administration
What is the difference between dbcc indexdefrag and dbcc reindex?
Call by value and call by reference in procedure and function, with NOCOPY.
How to receive output values from stored procedures?
What is the default sql server instance name?
What is an active database?
how can a database be repaired? : Sql server administration