网站首页 > 数据库 / 正文
概述
V$PWFILE_USERS 列出的是password文件里已授予sysdba、sysoper权限的用户,如果查询没有记录,那就有可能没有了password文件了,没有了密码文件当然sqlplus sys/xx as sysdba这种用sys用sysdba用户就无法登录了。下面介绍一下11g和12c的v$pwfile_user视图。
一、v$pwfile_user表(11g)
V$PWFILE_USERS lists all users in the password file, and indicates whether the user has been granted the SYSDBA, SYSOPER, and SYSASM privileges.
SELECT * FROM v$pwfile_users ORDER BY username;
二、 v$pwfile_user表(12c)
V$PWFILE_USERS lists all users in the password file, and indicates whether the user has been granted the SYSDBA, SYSOPER, SYSASM,SYSBACKUP, SYSDG, and SYSKM privileges.
后面会分享更多DBA方面内容,感兴趣的朋友可以关注下!
Tags:oracle语法as
猜你喜欢
- 2024-11-26 ERP实施方法论:ASAP
- 2024-11-26 oracle11g rman恢复:ORA-01180
- 2024-11-26 ORACLE 体系 - 10
- 2024-11-26 初识Oracle之架构体系理解
- 2024-11-26 Oracle 20c 新特性:表达式参数值 Expressions Parameter Values
- 2024-11-26 ORA-00257错误的解决办法
- 2024-11-26 从 TPCH 测试学习性能优化技巧之 Q6
- 2024-11-26 oracle中sql 正则写法详解
- 2024-11-26 详解Oracle数据库分组函数group by 、rollup、cude、grouping等
- 2024-11-26 Oracle 20c 新特性知多少?ANSI SQL 全支持之 EXCEPT 运算符增强