本篇文章給大家分享的是有關如何理解Oracle11g和12c的v$pwfile_user視圖及區別,小編覺得挺實用的,因此分享給大家學習,希望大家閱讀完這篇文章后可以有所收獲,話不多說,跟著小編一起來看看吧。
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.
以上就是如何理解Oracle11g和12c的v$pwfile_user視圖及區別,小編相信有部分知識點可能是我們日常工作會見到或用到的。希望你能通過這篇文章學到更多知識。更多詳情敬請關注億速云行業資訊頻道。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。