首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > oracle >

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

2012-03-13 
在SQL中 怎么插入另外一个表的信息想要在sdetl表中插入spay表 语句怎么写[解决办法]探讨SQL code--复制表

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

热点排行