oracle命令行删除用户:
connect/assysdba;
shutdownabort;
startup;
dropuseruser1cascade;
exit
shutdownabort;
startup;
dropuseruser1cascade;
exit
oracle命令行创建用户:
createuseruser1
identifiedbyvalues'fa091872a2cc669c'
defaulttablespaceuser1
temporarytablespacetemp
profiledefault
accountunlock;
--4rolesforuser1
grantrecovery_catalog_ownertouser1withadminoption;
grantresourcetouser1withadminoption;
grantdbatouser1withadminoption;
grantconnecttouser1withadminoption;
alteruseruser1defaultroleall;
--3systemprivilegesforuser1
grantselectanydictionarytouser1withadminoption;
grantunlimitedtablespacetouser1withadminoption;
grantalteranyproceduretouser1withadminoption;
identifiedbyvalues'fa091872a2cc669c'
defaulttablespaceuser1
temporarytablespacetemp
profiledefault
accountunlock;
--4rolesforuser1
grantrecovery_catalog_ownertouser1withadminoption;
grantresourcetouser1withadminoption;
grantdbatouser1withadminoption;
grantconnecttouser1withadminoption;
alteruseruser1defaultroleall;
--3systemprivilegesforuser1
grantselectanydictionarytouser1withadminoption;
grantunlimitedtablespacetouser1withadminoption;
grantalteranyproceduretouser1withadminoption;
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。