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 -

c++ - Serialize a class with a Qlist of custom classes as member (using QDataStream) -

Read video using VideoReader function in Matlab? -