读书人

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

发布时间: 2012-03-13 11:21:11 作者: rapoo

在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;

读书人网 >oracle

热点推荐