I believe everyone will be familiar with Oracle data import and export. As I have encountered similar problems many times, record them.
Question: How can I import and export data between different users? Instance: Use twc to export twc. dmp data from a remote database, and then import the data to the database whose original user name is Nsw;
The procedure is as follows:
1. Export data from a remote database: cmd → exp enter the username and password of the remote database and the database name: twc/twc @ Orac. Follow the prompts to go to the next step. Specify the path of the exported file: d: \ twc20120321.dmp. Follow the prompts to go to the next step. Press enter to specify the user to be exported: twc. Press enter. The page prompts that the export is in progress. The export is terminated successfully and no warning is displayed. The export is correct.
2. log on to the local database using the system user. Create a user and enter the user cmd → imp import file with the nsw/nsw password. Enter the user name and password: nsw/nsw and specify the path of the imported file: d: \ twc20120321.dmp, you must enter the user name twc. (The user name when you enter the export). The import is terminated successfully, and no warning is displayed. The database table is imported successfully. Log on to the local database using the username, password, nsw, and nsw to query the database table. OK! Author tanwencan