oracle的写法与sql server不一样,老是只记得sql server的写法,记不住oracle的。
现在专门记录一下。
create table newtablename
as select * from tablename where rownum<0;
---上面只复制了结构没有数据,想要有数据,把where条件移去即可。
oracle,根据查询结果结构创建新表
标签:where server acl rownum ble new sel creat 结果
本文系统来源:https://www.cnblogs.com/luqingfei/p/14660876.html
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!