SQL 数据库复制一行数据

SQL 数据库复制一行数据
简单写法:
insert into table1 select * from table1 where ...

 带上详细字段

insert into Table1(Field1, field2, id)
    select field1, field2, uId from Table1 where uId = @Id;

  

 

posted on 2020-02-16 17:25  滔Roy  阅读(11147)  评论(0编辑  收藏  举报

导航