I have create a user before but it always show me this error message.
beside, I have a command dump which was working before but since i have reinstall oracle, it doesn't work.
the command i use for doing the dump is :
SQLPLUS SYSTEM/AIX@ORAAIX @e:\Oracle\Command\Forl.sql
--> forl.sql :
CONNECT SYSTEM/AIX@ORAAIX
CREATE ROLE "RVEGA" NOT IDENTIFIED;
GRANT CREATE ANY SEQUENCE TO "RVEGA";
GRANT CREATE ANY VIEW TO "RVEGA";
GRANT DROP ANY SEQUENCE TO "RVEGA";
GRANT DROP ANY VIEW TO "RVEGA";
GRANT CREATE ANY TABLE TO "RVEGA";
GRANT DROP ANY TABLE TO "RVEGA";
GRANT CREATE ANY INDEX TO "RVEGA";
GRANT DROP ANY INDEX TO "RVEGA";
GRANT CREATE ANY PROCEDURE TO "RVEGA";
GRANT DROP ANY PROCEDURE TO "RVEGA";
GRANT CREATE ANY TRIGGER TO "RVEGA";
GRANT DROP ANY TRIGGER TO "RVEGA";
DROP USER VEGA CASCADE;
CREATE USER VEGA IDENTIFIED BY VEGA;
GRANT CONNECT TO VEGA;
GRANT RVEGA TO VEGA;
ALTER USER VEGA QUOTA UNLIMITED ON SYSTEM;
ALTER USER VEGA QUOTA UNLIMITED ON VEGA_DATA;
ALTER USER VEGA QUOTA UNLIMITED ON VEGA_INDX;
COMMIT;
DISCONNECT;
EXIT
IMP SYSTEM/AIX File=e:\Oracle\Dump\export_db_full_AIX.dmp1 FROMUSER=VEGA TOUSER=VEGA LOG=e:\Oracle\Command\Forl.Log
So i think the user VEGA is created automaticaly.
But when the command is execute, i have this message
Import object VEGA in VEGA
"ALTER SESSION SET CURRENT_SCHEMA= "VEGA""
IMP-00003: Error ORACLE 1435 met
ORA-01435: this users don't exist
IMP-00000: import procedure finish with errors
but when i do ALTER SESSION SET CURRENT_SCHEMA= "VEGA" in pl sql plus, it work.
i wish not be too confuse.
Thanks for you help.