請參考: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%'
arrow
arrow
    全站熱搜

    wbkuo 發表在 痞客邦 留言(0) 人氣()