INSERT: 批量插入结果集方式


INSERT: 批量插入结果集

  1. insert into table
    select x,y from A
    UNION select z,k from B ;
  2. insert into table
    select x,y,z from A where 1=1;
    3.批量导入表数据 ,不导入表约束
    select x,y,z into B from A where 1=1;


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM