当前位置:网站首页>Oracle 快速速复制表的方法
Oracle 快速速复制表的方法
2022-04-21 06:26:00 【山水牧羊】
方法一
CREATE TABLE TABLE_NAME1 AS SELECT * FROM TABLE_NAME2;
- 条件 表TABLE_NAME1不需要预先创建。
- 适用场景:快速备份表。
方法二
INSERT INTO TABLE_NAME1 SELECT * FROM TABLE_NAME2;
- 条件 表TABLE_NAME1需要预先创建。
方法三-错误方法
SELECT vale1, value2 into Table2 from Table1
注意,这里方法是错误方法,但让然被大量博主转发。该方法可在MS-SQL使用,但在Oracle中无效。执行后,会提示
ORA-00905: 缺失关键字
00905. 00000 - "missing keyword"
版权声明
本文为[山水牧羊]所创,转载请带上原文链接,感谢
https://blog.csdn.net/yeqiyugood/article/details/117524418
边栏推荐
- 将在CSDN中写好的文章导出为pdf格式
- 「Tarjan」有向图强连通分量
- C#中的类型转换
- 好用的数据集和开源网络对比网站
- 数据的增删查改
- 格式检查工具eslint
- Solve the problem that the replacement traverses the circular call, resulting in the subsequent replacement replacing the data of the previous replacement
- IDE常用快捷键
- 程序员也可以写小说
- The jupyter notebook of win10 uses pyspark 2 3.2 error reporting problems solved
猜你喜欢
![[STM32 H7] h743 notes on address distribution of each memory block](/img/69/afc9be30693b9b2a64ce5b896e309f.jpg)
[STM32 H7] h743 notes on address distribution of each memory block

Semantic feature extraction and simple word frequency display (wordcloud)

Guaba and Computational Geometry

格式检查工具eslint
![[SSM integration] 4 Logic code writing and testing](/img/0b/5745b18ae8ee5db7b36dbb7c8d0bdd.png)
[SSM integration] 4 Logic code writing and testing

2020杭电多校赛第四场1007 Go Running(hdu6808)

C#中的类型转换

登录页面讲解

微服务架构下的数据库拆分
![[thread x] netx duo PTP timing client](/img/d4/ba71d420f6bdd9a9db3f66fd1d5537.png)
[thread x] netx duo PTP timing client
随机推荐
【LeetCode 67】二个进制数求和
【LeetCode217】存在重复元素
使用zk实现分布式锁原理代码浅析
Judge whether the resource is referenced and whether the resource is circularly referenced
微服务架构下的数据库拆分
Gnu-efi头文件
【ThreadX】ThreadX源碼閱讀計劃(二)
QThread简单测试理解
[ksz8863] information summary and board verification results of ksz8863 switch chip
uniapp封装request
记一次mySQL慢sql优化
改图片后缀
JDBC simple implementation of student management system
[SSM integration] 4 Logic code writing and testing
学习笔记-最长子序列,最大子方块
【LeetCode 383】赎金信
登录页面讲解
Swagger2生成Api文档
MySQL Workbench cannot use clear text authentication over non-ssl connections 问题解决
【LeetCode 54 】螺旋矩阵