Update all rows at a time

set @newid=100;

update order_details set child_order_id = (@newid:=@newid+1) order by ID;

Comments

Popular posts from this blog

Android App Version Update using the following cordova cli commands

75 inspirational quotes that will change your life

Retrieval Image From DataBase and Display on WebPage by Using Servlets.