关于SQL ASP批量替换语句 执行
Update flash Set pic=replace(pic,'/flashpic/','/gamemp322pic/') where id>1
(所影响的行数为 7689 行)
Update flash Set flashurl=replace(flashurl,'http://swf.hhzone.net/flashfile/','/gamemp322flash2008/') where id>1
(所影响的行数为 7689 行)
/flashpic/
上面都是正确的
下面是试验的
http://swf.hhzone.net/flashfile/ flashurl
http://swf.hhzone.net/flashpic/
update table_name set aa=replace(aa,'你好','')
Update flash Set pic=replace(pic,'http://swf.hhzone.net/flashpic/','/')
UPDATE flash
SET pic = REPLACE(pic,'http://swf.hhzone.net/flashpic/','/')
update flash set pic='http://swf.hhzone.net/flashpic/' where pic='/'