在Oracle中,用SQL plus创建用户时,表空间不存在,代码如下。急急急急急!
REMuser:fulh建立用户createuserfulhidentifiedbyokdefaulttablespaceUSER_DATAtemporarytables...
REM user:fulh建立用户
create user fulh
identified by ok
default tablespace USER_DATA
temporary tablespace temp_USER_DATA
quota unlimited on USER_DATA
quota unlimited on Temp_USER_DATA
quota unlimited on Index_USER_DATA;
REM 授给用户fulh的权限
grant connect,resource,DBA to fulh; 展开
create user fulh
identified by ok
default tablespace USER_DATA
temporary tablespace temp_USER_DATA
quota unlimited on USER_DATA
quota unlimited on Temp_USER_DATA
quota unlimited on Index_USER_DATA;
REM 授给用户fulh的权限
grant connect,resource,DBA to fulh; 展开
展开全部
drop user fulh cascade;
create user fulh identified by gzfulh default tablespace users;
grant connect to fulh;
grant resource to fulh;
grant create any context to fulh;
grant create database link to fulh;
grant create sequence to fulh;
grant create view to fulh;
grant unlimited tablespace to fulh;
create user fulh identified by gzfulh default tablespace users;
grant connect to fulh;
grant resource to fulh;
grant create any context to fulh;
grant create database link to fulh;
grant create sequence to fulh;
grant create view to fulh;
grant unlimited tablespace to fulh;
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2011-05-08
展开全部
先创建表空间
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询