exp user/pw@tnsname file=export_data.dmp tables=table1,table2,table3
Import the data again with:
imp user/pw@tnsname file=export_data.dmp fromuser=olduser touser=newuser
Remind:
- an export made by an user with dba-rights can't be imported by a user without dba-rights. Export the data with a user without dba-rights
- You can check a dump-file on having been exported by a dba-user by opening it in Textpath. On the second line the first character is a U for User or D for DBA.
- an oracle 9 client cannot export data from an oracle 10 database
- If importing geodata from a 9 to a 10 database, use SDO_MIGRATE.TO_CURRENT(tabname,column_name) to convert the geometries.
No comments:
Post a Comment