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 [旧数据表名]

猜你喜欢

转载自www.cnblogs.com/lairui1232000/p/9206465.html