Data export:
1. Completely export the database TEST , the user name system password manager is exported to D:\daochu.dmp
exp system/manager@TEST file=d:\daochu.dmp full=y
2 The system user and sys user in the database are exported Export the table
exp system/manager@TEST file=d:\daochu.dmp owner=(system,sys)
3 Export the tables table1 and table2 in the database to
exp system/manager@TEST file=d:\daochu.dmp tables= (table1,table2) 4 Export the data that the field filed1
in the table table1 in the database starts with "00" exp system/manager@TEST file=d:\daochu.dmp tables=(table1) query=\" where filed1 like '00%'\"
Data import between users with the same name:
imp system/manager@TEST file=D:\daochu.dmp log=c:\orabackup\hkbimp.log full=y
Data import between users with different names:
imp system/manager@TEST fromuser= system touser= system _new file=D:\daochu.dmp