zoukankan      html  css  js  c++  java
  • 数据库复制一份表的数据到另外一个表

    复制一份表的数据到另外一个表
    SqlServer的用法


    新表存在的话这样用:insert into a select * from b
    新表不存在的话这样用:select * into a from b

    Oracle的用法

    新表存在的话这样用:insert into a select * from b
    新表不存在的话这样用:create table a as select * from b

    删除某一行
    delete from a where id=2;
  • 相关阅读:
    Chisel3
    Chisel3
    Chisel3
    Chisel3
    Chisel3
    Chisel3
    Chisel3
    Chisel3
    Chisel3
    UVa 12716 (GCD == XOR) GCD XOR
  • 原文地址:https://www.cnblogs.com/hill-foryou/p/9010045.html
Copyright © 2011-2022 走看看