I want to write a query in which data will be updated/deleted on the basis of row number.e.g. if my row number is 0 then first data which is in the table will be updated/deleted. For this, i want to write a stored procedure. How i will do it, please suggest me.