Oracle 2个登录用户 一个复制到另一个表中,复制其中的数据
解决方案 »
- oracle查询语句
- oracle运行上下文的内存泄露问题
- create directory语句出错
- 使用PL/SQL Developer将excel导入oracle的问题
- 同一语句表达的不同,引起结果的不同,急!
- ORA:-12535 TimeOut时间在哪里设定?
- 在分区表中插入数据后,怎么看不到数据阿?急!!!!
- 请各位老大详细描述windows下SID,Instance,Service的关系!多谢了
- 如何将oracle的表导成文本的格式
- 更新表的一个问题。急!立马结账!
- 在pl/sql developor中声明变量和调用存储过程,使用什么方法可以将变量的值显示出来?
- 怎样找到查询速度和插入速度的平衡点呢?
直接将表赋权给另一用户,就可以直接 inser into select
select *
from user_a.tab_x
;
SQL> conn scott_test/tiger@orcl;
Connected.
SQL> select * from emp;no rows selectedSQL> copy from scott/tiger@orcl to scott_test/tiger@orcl insert emp using select
* from emp;Array fetch/bind size is 15. (arraysize is 15)
Will commit when done. (copycommit is 0)
Maximum long size is 80. (long is 80)
14 rows selected from scott@orcl.
14 rows inserted into EMP.
14 rows committed into EMP at [email protected]> select count(*) from emp; COUNT(*)
----------
14