Created
July 2, 2014 10:36
-
-
Save pvilas/89448ff780e98e185c13 to your computer and use it in GitHub Desktop.
oracle create role and user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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