oracle 导入表数据结构,数据

oracle将导出的dmp文件倒进新的数据库中

在cmd命令窗口执行,如:

imp bxfund/[email protected]/yljinvestdb full=y file=F:\数据中心\db\yuan\BXFUND.dmp

将d:\daochu.dmp中的表table1 导入

 imp system/manager@TEST  file=d:\daochu.dmp  tables=(table1) 

数据导出:
1 将数据库TEST完全导出,用户名system 密码manager 导出到D:\daochu.dmp中

   exp system/manager@TEST file=d:\daochu.dmp full=y

2 将数据库中system用户与sys用户的表导出

   exp system/manager@TEST file=d:\daochu.dmp owner=(system,sys)

3 将数据库中的表table1 、table2导出

   exp system/manager@TEST file=d:\daochu.dmp tables=(table1,table2) 

4 将数据库中的表table1中的字段filed1以”00”打头的数据导出

   exp system/manager@TEST file=d:\daochu.dmp tables=(table1) query=\" where filed1 like  '00%'\"
没有’;’

你可能感兴趣的:(个人,oracle)