由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Urgent help!!!
相关主题
urgent help! insert value into table请教一个sqlplus的问题
MS T-SQL 问题how to setup shortcut to insert a command in Oracle sql shell?
question: copy first N rows from table B to table A (DB2)很弱的Oracle问题
问一个SQL Server的问题SQL question
Urgent SQL problem!question on JOIN on Oracle
请问谁知道unix的oracle下如何打印Table啊?Oracle新手请教一个问题
How to get SQL help in sqlplus?which one is the default?
Help on Sql server huge table performance急问一个关于T-SQL的问题,谢谢
相关话题的讨论汇总
话题: urgent话题: copy话题: t1话题: tables话题: account
进入Database版参与讨论
1 (共1页)
i*****t
发帖数: 220
1
If I open two oracle accounts and want to copy the tables from one account to
the other account, what should I do? Thanks!
b******a
发帖数: 20
2
My two cents:
You can create synonyms or grant read pemissions if you just need the same set
of data.
If you just want to copy the data one time and change them separately down the
road.
Inside one database, try following
For account B, run
create table T1 as select * from A.T1;
create table T2 as select * from A.T2;
... ...
Across different databases, use sqlplus COPY command
COPY FROM SCOTT/TIGER@MYDATABASE
INSERT T1 -
USING SELECT * FROM T1
... ...

to

【在 i*****t 的大作中提到】
: If I open two oracle accounts and want to copy the tables from one account to
: the other account, what should I do? Thanks!

s****d
发帖数: 13
3
Use the imp/exp
If u dont mind also copy other objects :
exp .. owner=user1 ...
imp .. fromuser=user1 touser=user2 ..
If u want tables only:
exp .. tables=t1,t2,.. ..
imp .. tables=t1,t2,... ..
good luck

to

【在 i*****t 的大作中提到】
: If I open two oracle accounts and want to copy the tables from one account to
: the other account, what should I do? Thanks!

1 (共1页)
进入Database版参与讨论
相关主题
急问一个关于T-SQL的问题,谢谢Urgent SQL problem!
SQL combine two columns from two different tables no shared (转载)请问谁知道unix的oracle下如何打印Table啊?
SQL Server stupid questionsHow to get SQL help in sqlplus?
Urgent help needed, pleaseHelp on Sql server huge table performance
urgent help! insert value into table请教一个sqlplus的问题
MS T-SQL 问题how to setup shortcut to insert a command in Oracle sql shell?
question: copy first N rows from table B to table A (DB2)很弱的Oracle问题
问一个SQL Server的问题SQL question
相关话题的讨论汇总
话题: urgent话题: copy话题: t1话题: tables话题: account