2026-07-25_face_collect_create_schema_simple.sql 991 B

123456789101112131415161718192021222324252627282930
  1. -- Purpose:
  2. -- Create a dedicated local schema for face collection in ORCLPDB.
  3. -- Safety:
  4. -- This script only creates a new user and grants minimum privileges.
  5. -- It does not modify any object under schema C##DC.
  6. -- Execution:
  7. -- Run inside PDB ORCLPDB with a DBA-capable account.
  8. whenever sqlerror exit failure rollback;
  9. prompt ==================================================
  10. prompt Creating local schema FACE_COLLECT in current PDB
  11. prompt Replace the placeholder password before execution
  12. prompt ==================================================
  13. create user FACE_COLLECT
  14. identified by "ChangeMe_20260725"
  15. default tablespace USERS
  16. temporary tablespace TEMP
  17. quota 512M on USERS
  18. container = current;
  19. grant create session to FACE_COLLECT;
  20. grant create table to FACE_COLLECT;
  21. grant create view to FACE_COLLECT;
  22. grant create sequence to FACE_COLLECT;
  23. grant create procedure to FACE_COLLECT;
  24. grant create trigger to FACE_COLLECT;
  25. prompt FACE_COLLECT schema created successfully.