Last active
October 13, 2015 12:54
-
-
Save K0NRAD/5874312dfa52e6cbb086 to your computer and use it in GitHub Desktop.
Create Oracle schema (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
-- drop / create user | |
drop user xdev01 CASCADE; | |
CREATE USER xdev01 IDENTIFIED BY xdev01; | |
ALTER USER xdev01 | |
DEFAULT TABLESPACE USERS | |
TEMPORARY TABLESPACE TEMP | |
ACCOUNT UNLOCK; | |
GRANT "CONNECT" TO xdev01; | |
GRANT "RESOURCE" TO xdev01; | |
-- drop / create user | |
drop user xdev02 CASCADE; | |
CREATE USER xdev02 IDENTIFIED BY xdev02; | |
ALTER USER xdev02 | |
DEFAULT TABLESPACE USERS | |
TEMPORARY TABLESPACE TEMP | |
ACCOUNT UNLOCK; | |
GRANT "CONNECT" TO xdev02; | |
GRANT "RESOURCE" TO xdev02; | |
-- drop / create user | |
drop user xdev03 CASCADE; | |
CREATE USER xdev03 IDENTIFIED BY xdev03; | |
ALTER USER xdev03 | |
DEFAULT TABLESPACE USERS | |
TEMPORARY TABLESPACE TEMP | |
ACCOUNT UNLOCK; | |
GRANT "CONNECT" TO xdev03; | |
GRANT "RESOURCE" TO xdev03; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment