how to get the rowid/rownumbes of a table in sqlserver

Answer Posted / renu

Row_number() works on SQL 2005 and upper version, if u r
trying it on 2000 it will not work.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to defragment indexes with alter index ... Reorganize?

833


Can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible?

820


What is constraints and its types?

738


What is difference between getdate and sysdatetime in sql server 2008?

841


If any stored procedure is encrypted, then can we see its definition in activity monitor?

783


What is the use of keyword with encryption. Create a store procedure with encryption?

791


What is the difference between DATETIME2 and DATETIME?

856


Explain the various types of concurrency problem. I.e. Lost or buried updates, uncommitted dependency, inconsistent analysis, phantom read?

723


What is the difference between for trigger and after trigger?

805


How to stop a loop early with break statements in ms sql server?

820


What are extended events in sql server?

720


What are data driven subscriptions?

97


What is data file in computer?

741


What is inner join? Explain with an example?

924


You schedule a job to run every minute what will happen if the first job runs more than 1 min? Will the second instance of the job start?

844