Skip to content

Instantly share code, notes, and snippets.

@pvilas
Created July 2, 2014 10:36
Show Gist options
  • Save pvilas/89448ff780e98e185c13 to your computer and use it in GitHub Desktop.
Save pvilas/89448ff780e98e185c13 to your computer and use it in GitHub Desktop.
oracle create role and user
create role programador;
GRANT CONNECT TO programador;
GRANT create session, alter session TO programador;
GRANT create procedure to programador;
GRANT execute any procedure to programador;
GRANT create table TO programador;
GRANT create sequence TO programador;
Grant create trigger to programador;
Grant create type to programador;
grant create view to programador;
grant create any index, create indextype to programador;
grant debug connect session to programador;
grant debug any procedure to programador;
CREATE USER user-name IDENTIFIED BY ppppppp;
GRANT programador TO user-name;
ALTER DATABASE DEFAULT TABLESPACE USERS;
ALTER USER user-name QUOTA UNLIMITED ON USERS;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment