how to create schema in oracle code example
Example 1: oracle db create new schema
-- 1st Step
CREATE USER user_name IDENTIFIED BY password;
-- 2nd step
GRANT RESOURCE TO user_name;
GRANT CONNECT TO user_name;
GRANT CREATE VIEW TO user_name;
GRANT CREATE SESSION TO user_name;
GRANT UNLIMITED TABLESPACE TO user_name;
Example 2: create schema oracle sql 19c
CREATE USER smith IDENTIFIED BY password;
Example 3: create schema oracle sql 19c
GRANT CREATE TABLE TO smith;