create table 使用select查询语句创建表的方法分享

转自:http://www.maomao365.com/?p=6642


摘要:
下文讲述使用select查询语句建立新的数据表的方法分享

---1 mysql 
   create table `新数据表名`
     select  *  from `旧数据表名`;
--------------------------------
---2 oracle
  create table 新数据表名 as select * from 旧数据表名
--------------------------------
--3 mssql 
  select * into [新数据表名] from [旧数据表名]

 

posted @ 2018-06-20 22:37  Adeal2008  阅读(13733)  评论(0编辑  收藏  举报