流年飘飘hawking8987.blog.chinaunix.net
hawking8987
全部博文(213)
2007年(213)
FunBSD
dragonfl
interfac
hxl
cqxfy
ambrasew
浪花小雨
yqfntx
hooca
zhengbao
分类: Oracle
2007-10-11 10:55:23
CREATE USER "TESTUSER" PROFILE "DEFAULT" IDENTIFIED BY "hawkingwan" DEFAULT TABLESPACE "USERS" QUOTA 10 M ON "USERS" ACCOUNT UNLOCK;GRANT ALTER ANY TABLE TO "TESTUSER" WITH ADMIN OPTIONGRANT SELECT ON "HR"."EMPLOYEES" TO "TESTUSER"GRANT "CONNECT" TO "TESTUSER" WITH ADMIN OPTION;BEGIN dbms_resource_manager_privs.grant_switch_consumer_group( grantee_name => 'TESTUSER', consumer_group => 'DEFAULT_CONSUMER_GROUP', grant_option => TRUE );END;BEGIN dbms_resource_manager.set_initial_consumer_group( user => 'TESTUSER', consumer_group => 'DEFAULT_CONSUMER_GROUP' );END;
上一篇:《士兵突击》!偶强烈推荐的好片子
下一篇:使用智能优化器提高Oracle性能极限
登录 注册