关于Oracle的用户创建大概有下面几个步骤:
--创建表空间
create tablespace hison datafile 'D:\oracle\product\10.2.0\oradata\WXOSS\test.dbf' size 500M
--创建临时表空间
create temporary tablespace hison_temp tempfile 'D:\oracle\product\10.2.0\oradata\WXOSS\test_temp.dbf' size 200M drop tablespace hison;
--创建用户
create user hison profile default identified by hison default tablespace hison temporary
tablespace hison_temp account unlock;
--赋予连接权限
grant connect,resource to hison grant imp_full_database to hison
--赋予dba权限
grant dba to hison grant create session to hison
工作中总结了一些东西,分享出来命名的规则视情况而定