我用的是oracle
3 个解决方案
#1
UPDATE tb_person SET person_email = 'person_id@163.com';
#2
我的意思是person_email的值修改为每个person的person_id+@163.com的形式
比如person_id为99999999,person_email就是99999999@163.com
比如person_id为99999999,person_email就是99999999@163.com
#3
已经修改好
UPDATE tb_person SET person_email = person_id ||'@163.com';
#1
UPDATE tb_person SET person_email = 'person_id@163.com';
#2
我的意思是person_email的值修改为每个person的person_id+@163.com的形式
比如person_id为99999999,person_email就是99999999@163.com
比如person_id为99999999,person_email就是99999999@163.com
#3
已经修改好
UPDATE tb_person SET person_email = person_id ||'@163.com';