常用 sql 语句

1. update + replace

update t_looptest_time set end_time = replace(end_time,'2018','2017') where group_id in (
'1525400951110X7Z6ZJ',
'1525400669663WLN42Y',
'1525398755892LPV52Q',

)

posted on 2018-05-04 10:57  bruce_he  阅读(110)  评论(0编辑  收藏  举报