| 123456789101112131415161718192021222324252627282930 |
- -- Purpose:
- -- Create a dedicated local schema for face collection in ORCLPDB.
- -- Safety:
- -- This script only creates a new user and grants minimum privileges.
- -- It does not modify any object under schema C##DC.
- -- Execution:
- -- Run inside PDB ORCLPDB with a DBA-capable account.
- whenever sqlerror exit failure rollback;
- prompt ==================================================
- prompt Creating local schema FACE_COLLECT in current PDB
- prompt Replace the placeholder password before execution
- prompt ==================================================
- create user FACE_COLLECT
- identified by "ChangeMe_20260725"
- default tablespace USERS
- temporary tablespace TEMP
- quota 512M on USERS
- container = current;
- grant create session to FACE_COLLECT;
- grant create table to FACE_COLLECT;
- grant create view to FACE_COLLECT;
- grant create sequence to FACE_COLLECT;
- grant create procedure to FACE_COLLECT;
- grant create trigger to FACE_COLLECT;
- prompt FACE_COLLECT schema created successfully.
|