1818IP-服务器技术教程,云服务器评测推荐,服务器系统排错处理,环境搭建,攻击防护等

当前位置:首页 - 数据库 - 正文

君子好学,自强不息!

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

oracle命令行删除用户:

connect/assysdba; 
shutdownabort; 
startup; 
dropuseruser1cascade; 
exit

oracle命令行创建用户:

createuseruser1 
identifiedbyvalues'fa091872a2cc669c' 
defaulttablespaceuser1 
temporarytablespacetemp 
profiledefault 
accountunlock; 
--4rolesforuser1 
grantrecovery_catalog_ownertouser1withadminoption; 
grantresourcetouser1withadminoption; 
grantdbatouser1withadminoption; 
grantconnecttouser1withadminoption; 
alteruseruser1defaultroleall; 
--3systemprivilegesforuser1 
grantselectanydictionarytouser1withadminoption; 
grantunlimitedtablespacetouser1withadminoption; 
grantalteranyproceduretouser1withadminoption;

本文来源:1818IP

本文地址:https://www.1818ip.com/post/4618.html

免责声明:本文由用户上传,如有侵权请联系删除!

发表评论

必填

选填

选填

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。