Does anyone know how to modify data in multiple rows and columns in MySql? Please give me some advice.
天蓬老师
天蓬老师 2017-06-06 09:51:59
0
5
749

Which master knows how to modify data in multiple rows and columns in MySql

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(5)
Ty80

I don’t know the table structure, so I can’t provide a targeted solution, but one method is stored procedures, but one disadvantage is that it affects the performance of mysql. When the number of operations is not particularly large, the impact is not big, but when the operations are very frequent, There may be an impact.

左手右手慢动作

Look for common conditions and where conditions to perform batch up operations

左手右手慢动作

Deleted and re-inserted (escape...

PHPzhong

At least provide your table structure, otherwise how will others see it?

Peter_Zhu

Solved, just use a loop

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!