1.創(chuàng)建用戶省骂。
create user 用戶名稱 IDENTIFIED BY 密碼 DEFAULT TABLESPACE 表空間 TEMPORARY TABLESPACE temp;
2.授權(quán)用戶dba。
grant dba,connect,resource,create any table,drop any table,create sequence,drop any sequence ,create any trigger,create any view to 用戶名稱;
3.刪除用戶局荚。
drop user 用戶 cascade;
4.表空間滿了超凳,需要拓展表空間,執(zhí)行以下sql耀态。
alter tablespace 表空間名稱 add datafile 'D:\APP\ORADATA\ORCL\表空間名稱.DBF' size 10240M autoextend on next 400M Maxsize UNLIMITED;