1、利用超等用户登录sqlplus。
2、创建表空间:
SQL> create tablespace test
2 datafile 'D:\oracle\oradata\test\test.dbf'
3 size 100M autoextend on next 10M maxsize unlimited extent management local;
3、创建用户和密码:
SQL> create user Username identified by Password default table
2 users Temporary TABLESPACE Temp;
4、用户授权限:
SQL> grant connect,resource,dba to Username;
5、提交:
SQL> commit;
0