当前位置: 代码迷 >> Oracle管理 >> 在SQL中 如何插入另外一个表的信息
  详细解决方案

在SQL中 如何插入另外一个表的信息

热度:41   发布时间:2016-04-24 05:42:27.0
在SQL中 怎么插入另外一个表的信息
想要在sdetl表中插入spay表 语句怎么写

------解决方案--------------------
探讨

SQL code
--复制表结构 tb为新表
select * into tb from tba where 1 <>1
or
select top 0 * into tc from tba;

--插入一个表的数据
insert into tb select * from tba;
  相关解决方案