--建立臨時表空間 create temporary tablespace USER_TEMP tempfile 'C:\oraclexe\oradata\XE\USER_TEMP.dbf ' size 50m autoextend on next 50m maxsize 20480m extent management local; --建立表空間 create tablespace EPO_DATA logging datafile 'C:\oraclexe\oradata\XE\EPO_DATA.dbf' size 50m autoextend on next 50m maxsize 20480m extent management local; --刪除用戶 drop user epo cascade; --建立用戶 create user EPO identified by epo default tablespace EPO_DATA temporary tablespace TEMP; --給用戶受權 grant connect, resource, dba to EPO;