drop user [DB_USER] cascade;
create user [DB_USER] identified by [DB_PASS] default tablespace [TABLE_SPACE];
grant connect to [DB_USER];
grant alter session to [DB_USER];

grant create any context to [DB_USER];
grant create procedure to [DB_USER];
grant create sequence to [DB_USER];
grant create session to [DB_USER];
grant create synonym to [DB_USER];
grant create table to [DB_USER];
grant create type to [DB_USER];
grant create user to [DB_USER];
grant create view to [DB_USER];
grant create any table to [DB_USER];
grant create any materialized view to [DB_USER];
grant create any synonym to [DB_USER];
grant create database link to [DB_USER];
grant DEBUG CONNECT SESSION to [DB_USER];
grant imp_full_Database to [DB_USER];

grant query rewrite to [DB_USER];
grant select any dictionary to [DB_USER];
grant unlimited tablespace to [DB_USER];

grant execute on DBMS_CRYPTO to [DB_USER]; 

exit;
