創建用戶:
create user base identified by base;
user 后面為用戶名,by后面為 密碼
賦予權限
grant connect,resource,dba to base;
退出
quit;
刪除用戶: drop user test cascade;
commit;
導入數據:(只需要在cmd 界面就可以,無需要sqlplus)
imp base/base@orcl fromuser=base touser=base file=d:\ac.dmp
base/base 為你的用戶密碼
fromuser=base touser=base 從那個用戶導到哪個里面去
file=d:\ac.dmp 你的數據文件
導出數據:(也是直接到cmd界面)
exp base/base@orcl file=d:\ac.dmp full=y;