[mysql] 필드내 특정 문자열 치환하기

update 테이블명 set 필드명=REPLACE(필드명,'찾는문자열','수정할 문자열');

ex) update user set host=REPLACE(host,'127.0.0.1','localhost');

EOL
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by ⓒ쟁이™

2008/12/23 21:12 2008/12/23 21:12
, , ,
Response
No Trackback , No Comment
RSS :
http://funix.net/rss/response/37

Trackback URL : http://funix.net/trackback/37

Leave a comment
[로그인][오픈아이디란?]
  
  
  
  
  
  
  
  
 
« Previous : 1 : ... 9 : 10 : 11 : 12 : 13 : 14 : 15 : 16 : 17 : ... 48 : Next »

Archives

Recent Trackbacks

129

95

-14 days

today : 95

Creative Commons License

이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.