博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年5月22日

摘要: merge into table_c c using table_m m on(c.username = m.username) when matched then update set c.userId = m.id; ------将table_m中的id字段设置到table_c中userId字... 阅读全文

posted @ 2015-05-22 15:43 钟悍 阅读(414) 评论(0) 推荐(0)