1、EXP
1 a>完全模式 full=y
2
3 EXP USER/[email protected] (AS ROLE) BUFFER=64000 FILE=C:\FULL.DMP FULL=Y
4
5 b>用户模式 owner=user
6
7 EXP USER/[email protected] BUFFER=64000 FILE=C:\USER.DMP OWNER=USER
8
9 c>表模式 tables=tab_*
10
11 EXP USER/[email protected] BUFFER=64000 FILE=C:\TAB_*.DMP TABLES=(TAB_1, TAB_2)
12
13 对tab_1导出加条件
14
15 EXP USER/[email protected] BUFFER=64000 FILE=C:\TAB_*.DMP TABLES=(TAB_1) QUERY=\"WHERE NAME LIKE ‘JION%‘\"
2、IMP
1 a>完全模式 full=y
2
3 IMP USER/[email protected] (AS ROLE) BUFFER=64000 FILE=C:\FULL.DMP FULL=Y
4
5 b>用户模式 owner=user
6
7 IMP USER/[email protected] BUFFER=64000 FILE=C:\USER.DMP OWNER=USER
8
9 c>表模式 tables=tab_*
10
11 IMP USER/[email protected] BUFFER=64000 FILE=C:\TAB_*.DMP TABLES=(TAB_1, TAB_2)
时间: 2024-10-10 12:47:34