-- create the user
create user user
identified by "123456"
default tablespace users
temporary tablespace temp
profile default
password expire;
-- grant/revoke role privileges
grant connect to user;
grant dba to user;
grant exp_full_database to user;
grant imp_full_database to user;
grant resource to user;
-- grant/revoke system privileges
grant alter user to user;
grant create any view to user;
grant create session to user;
grant create user to user;
grant drop any view to user;
grant drop user to user;
grant unlimited tablespace to user;
grant create user,drop user,alter user ,create any view ,
drop any view,exp_full_database,imp_full_database,
dba,connect,resource,create session to user
imp user/pwd@orcl file=f:/quebase.dmp full=y ignore=y
Oracle匯入資料
oracle匯入資料 在sql plus中 1.c test.sql 2.imp 3.impdp server端 a.conn sys sys as sysdba b.creat directory dumpin idr as d dump c.grant read,write on directo...
oracle匯入資料
oracle匯入資料時出現的問題 alter user spowner default tablespace users ora 00959 表空間 tbs arch risk 不存在 create tablespace tbs arch risk datafile c oracle product...
oracle匯入資料
注意 1.保證在e oracledata盤下有乙個fund data資料夾 2.保證在e oracledata盤下有乙個匯入檔案,ds.dmp.匯入資料庫的步驟 1.登入sqlplus,在命令列輸入sqlplus username password sid 2.建立臨時表空間 drop tables...