oracle创建数据文件、表空间、角色、用户

create tablespace tp_liferay_xyong datafile '/home/oracle/wadess/tp_liferay_xyong001.dbf' size 100m,


'/home/oracle/wadess/tp_liferay_xyong002.dbf' size 100m;


/home/ora12c/base/oradata/JXEDU/datafile/ts_tab_liferay_jxedu.dbf


create user liferay_xyong identified by liferay_xyong
default tablespace tp_liferay_xyong
temporary tablespace temp;


grant connect,resource to liferay_xyong;
grant create any sequence to liferay_xyong;
grant create any table to liferay_xyong;
grant delete any table to liferay_xyong;
grant insert any table to liferay_xyong;
grant select any table to liferay_xyong;
grant execute any procedure to liferay_xyong;
grant update any table to liferay_xyong;
grant create any view to liferay_xyong;


DROP TABLESPACE tp_liferay_xyong INCLUDING CONTENTS AND DATAFILES;

你可能感兴趣的:(Oracle数据库)