Files
ROMFASTSQL/proxmox/lxc108-oracle/new-roa-oracle-server/createfn.sql
Marius 4f51ee48f6 Add legacy ROA Oracle 10g server setup scripts (reference)
Original Oracle 10g R1/R2 setup scripts and SQL migrations from 2007-2026.
Preserved as reference for understanding ROA database structure and
historical schema evolution.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 17:08:13 +02:00

33 lines
861 B
SQL

spool create&&fnName..log
prompt
prompt Stergere user &&fnName
prompt ===========================
prompt
drop user &&fnName cascade;
prompt
prompt Creare user &&fnName
prompt ===========================
prompt
create user &&fnName
identified by "&&fnPassword"
default tablespace ROA
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant connect to &&fnName;
grant resource to &&fnName;
-- Grant/Revoke system privileges
grant create materialized view to &&fnName;
grant create procedure to &&fnName;
grant create sequence to &&fnName;
grant create table to &&fnName;
grant create trigger to &&fnName;
grant create view to &&fnName;
grant debug connect session to &&fnName;
grant select any table to &&fnName;
grant create type to &&fnName;
grant unlimited tablespace to &&fnName;
spool off