好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

oracle 高级update

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字段

spool /tmp/insert2.log; ----设置执行日志文件

spool off; ------关闭日志

oracle 高级update

标签:

查看更多关于oracle 高级update的详细内容...

  阅读:33次