This page is READ-ONLY. It is generated from the old site.
All timestamps are relative to 2013 (when this page is generated).
If you are looking for TeX support, please go to VietTUG.org

thay đổi hàng loạt trong database

that's good enough
Added by about 4 years ago  »  Votes: 1/1

Keywords: mysql, substitute, replace, update

Tình cờ lượm ở http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/. Cái gì? Cách để thay đổi hàng loạt trong cơ sở dữ liệu:

UPDATE table_name SET column_name = REPLACE(column_name,"original_string","new_string")

Comments