Oracle创建表空间、用户、赋予权限、修改密码

前端之家收集整理的这篇文章主要介绍了Oracle创建表空间、用户、赋予权限、修改密码前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
1、创建表空间 CREATE SMALLFILE TABLESPACE "TS_TEST" DATAFILE'/home/oracle/oradata/datafile/test.dbf' SIZE 500M AUTOEXTEND ON NEXT 1M MAXSIZE UNLIMITED LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO DEFAULT NOCOMPRESS; 2、创建用户 CREATE USER "TEST" PROFILE "DEFAULT" IDENTIFIED BY test DEFAULT TABLESPACE "TS_TEST" TEMPORARY TABLESPACE "TEMP" ACCOUNT UNLOCK; 3、赋予DBA权限 GRANT "CONNECT","DBA","EXP_FULL_DATABASE","IMP_FULL_DATABASE" TO "TEST"; 4、修改密码 alter user TEST identified by oracle_test;

猜你在找的Oracle相关文章