請參考:http://dev.mysql.com/doc/refman/5.0/en/string-functions.html
函數: concat
可使用多個參數
update `user` set email = concat(name, '@powercam.com.tw') WHERE name like 'tt%'
函數: concat
可使用多個參數
update `user` set email = concat(name, '@powercam.com.tw') WHERE name like 'tt%'
全站熱搜
留言列表