How to increment the value in Database while updating table
Posted: Thu Dec 02, 2010 3:11 am
Hi,
If new employee need to insert the following columns:
No_Of_tries=1
Pro_Id = ID
OriPro_Id = Null
If existing employee need to Update the following columns :
No_Of_tries= No_Of_tries+1
Pro_Id = ID
OriPro_Id = Prev_ID
How to update the table by incrementing the value , can you please suggest...
If new employee need to insert the following columns:
No_Of_tries=1
Pro_Id = ID
OriPro_Id = Null
If existing employee need to Update the following columns :
No_Of_tries= No_Of_tries+1
Pro_Id = ID
OriPro_Id = Prev_ID
How to update the table by incrementing the value , can you please suggest...