Oracle 19C DELETE_CATALOG_ROLE角色
環境:
DB:Oracle 19C OS:Redhat 7.6
問題說明:
將Oracle 11.2.0.4.0資料遷移到Oracle 19C時, 19C庫在手動建立並授權使用者時,提示沒有DELETE_CATALOG_ROLE角色。
實際上在12c版本已經棄用DELETE_CATALOG_ROLE角色。
Deprecated Oracle Database Roles The following Oracle Database roles are deprecated in Oracle Database 12c:
DELETE_CATALOG_ROLE Deprecated The DELETE_CATALOG_ROLE database role is deprecated in Oracle Database 12c.
檢視19c角色,確實沒有DELETE_CATALOG_ROLE角色。
SYS@oradb>select role from dba_roles where role like '%CATALOG%'; ROLE -------------------------------------------------------------------------------- SELECT_CATALOG_ROLE EXECUTE_CATALOG_ROLE RECOVERY_CATALOG_OWNER RECOVERY_CATALOG_OWNER_VPD RECOVERY_CATALOG_USER GDS_CATALOG_SELECT 6 rows selected. Elapsed: 00:00:00.00
對比檢視11204角色,是有DELETE_CATALOG_ROLE角色的。
sys@cjc>select * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production PL/SQL Release 11.2.0.4.0 - Production CORE11.2.0.4.0Production TNS for Linux: Version 11.2.0.4.0 - Production NLSRTL Version 11.2.0.4.0 - Production sys@cjc>select role from dba_roles where role like '%CATALOG%'; ROLE ------------------------------ SELECT_CATALOG_ROLE EXECUTE_CATALOG_ROLE DELETE_CATALOG_ROLE RECOVERY_CATALOG_OWNER
檢視DELETE_CATALOG_ROLE角色包含的許可權
sys@cjc>select * from dba_tab_privs where grantee='DELETE_CATALOG_ROLE'; GRANTEE OWNER TABLE_NAME GRANTOR ------------------------------ ------------------------------ ------------------------------ ------------------------------ PRIVILEGE GRA HIE ---------------------------------------- --- --- DELETE_CATALOG_ROLE SYS FGA_LOG$ SYS DELETE NO NO DELETE_CATALOG_ROLE SYS AUD$ SYS DELETE NO NO
#####chenjuchao 20210611 13:03#####
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29785807/viewspace-2776501/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 角色 自定義角色 RoleOracle
- Oracle 19C EMOracle
- oracle 4--角色Oracle
- oracle DBA 角色重建Oracle
- oracle中的角色Oracle
- Oracle 19c Broker配置Oracle
- oracle 19c dataguard silent install (oracle 19c dataguard 靜默安裝)Oracle
- oracle 19c 初體驗Oracle
- oracle 19c pdb遷移Oracle
- Oracle 19c Database Management ToolsOracleDatabase
- Oracle 19c的安裝Oracle
- Oracle資料泵(Oracle Data Pump) 19cOracle
- 【19c】Oracle 19c 和 20c 的新特性解密Oracle解密
- ORACLE DG之備庫角色Oracle
- oracle 11g 角色口令Oracle
- ORACLE角色(通過DBA建立)Oracle
- 學習和管理oracle角色Oracle
- Oracle角色精簡總結Oracle
- 1 Oracle Database 19c 新特性OracleDatabase
- Docker中安裝Oracle 19cDockerOracle
- oracle 19C 靜默安裝Oracle
- Oracle 19c RPM安裝Oracle
- Oracle 19c中的TomcatOracleTomcat
- Sqlcl 連線Oracle DataBase 19cSQLOracleDatabase
- oracle 19c CDB vs pdb 建立Oracle
- Oracle 19c 安裝嚐鮮Oracle
- LGnn 程式介紹(oracle 19c)GNNOracle
- Oracle 19c - 手動升級 Oracle 12.x, 18c CDB 到 Oracle 19c (19.x)Oracle
- Oracle:Oracle RAC 11.2.0.4 升級為 19cOracle
- Oracle 查詢許可權角色Oracle
- Oracle 19c Concepts(13):Oracle Database InstanceOracleDatabase
- Oracle 19c Concepts(01):Introduction to Oracle DatabaseOracleDatabase
- Oracle Database 19c安裝Sample SchemasOracleDatabase
- Oracle 19c Concepts(10):TransactionsOracle
- Oracle 19c Concepts(07):SQLOracleSQL
- Oracle 19C 下載和安裝Oracle
- Oracle 19c RAC INS-40724Oracle
- oracle 19c 安裝、解除安裝Oracle