MySQL update replace 구문
페이지 정보
본문
update TABLE set column1=replace(column1,'대한민국','한국')
그누보드4에 적용시킨 구문
update `g4_write_boatshow`
set wr_content = replace(wr_content,'http://old.domain.com/ace','http://new.domain.com/ace')
where wr_content like '%http://old.domain.com/ace%'
그누보드4에 적용시킨 구문
update `g4_write_boatshow`
set wr_content = replace(wr_content,'http://old.domain.com/ace','http://new.domain.com/ace')
where wr_content like '%http://old.domain.com/ace%'
추천0
댓글목록
등록된 댓글이 없습니다.