how to change column value on a cetain condition in mysql -


i using mysql database. in table saving files name extension. files extension .flv want change file extension .flv .mp4. there way achive in mysql workbench. thanks

try query

update tablename set colname = replace(colname,'.flv','.mp4'); 

Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -