shaymiller
Regular Member
- Dec 3, 2016
- 456
- 45
I have mysql database with 24K rows. How can I update first 100 rows then next 100, until full database is updated
The way I do it now, it by using simple update query directly in phpmyadmin below. It takes 5 mins+ and some times it crashes
Update tracks
Inner join ol_vidviews ON (tracks.name = ol.vidviews.name)
SET tracks.views = ol_vidviews.post_id
Can someone post php code to do this?
The way I do it now, it by using simple update query directly in phpmyadmin below. It takes 5 mins+ and some times it crashes
Update tracks
Inner join ol_vidviews ON (tracks.name = ol.vidviews.name)
SET tracks.views = ol_vidviews.post_id
Can someone post php code to do this?