当前位置:网站首页>SQL classification, user properties

SQL classification, user properties

2022-06-22 05:16:00 a good idea

See what roles there are

select * from user_role_privs;

View your own roles and permissions
select * from role_sys_privs;

The modification user is locked ( Non locking ) state , Locked status is unable to log in
alter user user name account lock|unlock;

Query the user
select * from all_users;

Ordinary users
sqlplus user name / password ;

System administrator login , Identity must be specified ,as sysdba perhaps as sysoper, You can log in normally without entering a password
sqlplus sys/ as sysdba;

原网站

版权声明
本文为[a good idea]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220510552497.html