--创建数据表空间
create tablespace tracking
logging
datafile 'C:\oracle\product\10.2.0\oradata\oracle\tracking.dbf'
size 100m
autoextend on
next 100m maxsize 20480m
extent management local;
--创建用户并指定表空间
create user tracking identified by tracking
default tablespace tracking
temporary tablespace yhtemp;
--给用户授予权限
grant connect,resource,dba to tracking;
--撤销此权限
revoke unlimited tablespace from tracking
--将用户在默认安装在system表空间的配额置为0
-//将用户在System表空间的配额置为0
alter user tracking quota 0 on system;
--设置在用户在tracking表空间配额不受限 2种
alter user tracking quota unlimited on tracking;
--grant unlimited tablespace to USERNAME;
create tablespace tracking
logging
datafile 'C:\oracle\product\10.2.0\oradata\oracle\tracking.dbf'
size 100m
autoextend on
next 100m maxsize 20480m
extent management local;
--创建用户并指定表空间
create user tracking identified by tracking
default tablespace tracking
temporary tablespace yhtemp;
--给用户授予权限
grant connect,resource,dba to tracking;
--撤销此权限
revoke unlimited tablespace from tracking
--将用户在默认安装在system表空间的配额置为0
-//将用户在System表空间的配额置为0
alter user tracking quota 0 on system;
--设置在用户在tracking表空间配额不受限 2种
alter user tracking quota unlimited on tracking;
--grant unlimited tablespace to USERNAME;