Stored procedure to update particular key column with increment of +1
Hi,
This is my table
EMPID,NAME
1 SSS
2 AAA
I NEED STORED PROCEDURE TO UPDATE EMPID WITH INCREMENT OF +1.BASED ON
MAX(EMPID).fOr example if i execute stored procedure once it will update empid 2 as 3,
if i run same procedure again it will take increment +1 then emp id should be 4 like that i want output.
Any one please help me on this scenario...