135-1821-9792

使用oracle命令行创建及删除用户的方法

oracle命令行相信大家都有一定的了解,下面就为您详细介绍使用oracle命令行创建及删除用户的方法,希望对您能够有所帮助。

oracle命令行删除用户:

 
 
 
  1. connect / as sysdba; 
  2. shutdown abort; 
  3. startup; 
  4. drop user user1 cascade; 
  5. exit 

oracle命令行创建用户:

 
 
 
  1. create user user1 
  2. identified by values 'fa091872a2cc669c' 
  3. default tablespace user1 
  4. temporary tablespace temp 
  5. profile default 
  6. account unlock; 
  7. -- 4 roles for user1 
  8. grant recovery_catalog_owner to user1 with admin option; 
  9. grant resource to user1 with admin option; 
  10. grant dba to user1 with admin option; 
  11. grant connect to user1 with admin option; 
  12. alter user user1 default role all; 
  13. -- 3 system privileges for user1 
  14. grant select any dictionary to user1 with admin option; 
  15. grant unlimited tablespace to user1 with admin option; 
  16. grant alter any procedure to user1 with admin option; 

网页标题:使用oracle命令行创建及删除用户的方法
文章地址:http://wtcwzsj.com/article/cdhcces.html

其他资讯



Copyright © 2009-2022 www.wtcwzsj.com 青羊区广皓图文设计工作室(个体工商户) 版权所有 蜀ICP备19037934号