📜  oracle 18c xe ORA-65096 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:33.759000             🧑  作者: Mango

代码示例2
sqlplus / as sysdba
ALTER SESSION SET "_ORACLE_SCRIPT"=true;     -- Warning !
-- c## prefixe
CREATE USER c##username IDENTIFIED BY "my_password";
GRANT CONNECT TO MY_USER;           -- To connect to DB
GRANT RESOURCE TO MY_USER;          -- Access / modify
GRANT MY_ROLE TO MY_USER;           -- Grants a role (to be defined)
GRANT CREATE SESSION TO MY_USER;