数据库语句更新某个字段的某个内容

数据库语句更新某个字段的某个内容

UPDATE upload SET save_directory=REPLACE (save_directory,'f:','d:') WHERE  save_directory LIKE "%f:%"


update content_attach set savePath=replace(savePath,'f:','d:') where savePath like "%f:%"

posted on 2014-12-24 14:03  学无止境2023  阅读(966)  评论(0编辑  收藏  举报

导航