導庫。imp 用戶名/密碼@ip地址:1521/orcl file=D:/xx.dmp full=y創建表空間。在sql窗口中輸入create tablespace test datafile 'D:/test.ora' size 1000m;這里的test為表空間名稱,路徑自己來命名。然后點執行按鈕。創建用戶。輸入create user test identified by test default tablespace test quota 500m on users; 這里第一個test為用戶名,第二個test為密碼,第三個test為表空間名。然后執行。進行授權。輸入grant all PRivileges to test; 執行該語句給test用戶授權,此時test用戶就可以登錄了。刪表空間和用戶。 步驟一: 刪除userdrop user ×× cascade說明: 刪除了user,只是刪除了該user下的schema objects,是不會刪除相應的tablespace的。步驟二: 刪除tablespaceDROP TABLESPACE tablespace_name INCLUDING CONTENTS AND DATAFILES;