Domanda

I want to know if there's a way to see the name of the user who exported an .DMP file. I tried opening the .DMP file with Notepad++, but I didn't see this information anywhere.

The reason of why I want the name of the user who created the .DMP file is to use this user name on the import command line utility (IMP) on the parameter "from user".

Thanks in advance!

È stato utile?

Soluzione

know for sure this would not give the fromuser, it gives scripts with object owner as whatever id you are running the imp, example if you run imp SCOTT/TIGER@ORCL file=test.dmp indexfile=test.sql. the output test.sql will have all object owner as SCOTT.

show=y is the better option.

https://community.oracle.com/thread/972606?start=0&tstart=0

Altri suggerimenti

Check your Export log file if available, you can see the username there.

OR

Try import the dmp file using full=y,

imp username/password@dbname file=filename.dmp log=filename.log full=y 
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top