USER CREATION

SARIPALLI AMMULYA

Wissen GE Internal

Table of Contents

• • • •

Revision Information Overview Syntax for Creation of User Syntax for Dropping User

Wissen GE Internal

OVERVIEW
• When a user is created, his default tablespace as well as his temporary tablespace can be specified. As per dba design document, create respective tablespaces. https://openge.ge.com/cgi-bin/cvsweb.cgi/?cvsroot=gehdbacolab#dirlist

Wissen GE Internal

Syntax for Creation of User
• • Syntax for Creation of User CREATE USER<username> PROFILE <default> IDENTIFIED BY <password> DEFAULT TABLESPACE <tablespace name> TEMPORARY TABLESPACE <temporary tablespace> QUOTA UNLIMITED ON < tablespace name>; SQL> Grant create session to <username>; SQL> Grant <rolename > to <username>; You have to create a user before you can GRANT permissions, roles or assign a default role. Try to connect to user. SQL>conn <username>/<password>

• • • •

Wissen GE Internal

Syntax for Dropping User
• • • • • • Syntax for Dropping User SQL> Drop user <username> cascade; When a user is created, the role public is automatically assigned to this user. However, the role is not visible in dba_sys_privs nor session_roles. Give the grants according to the doc provided to you. Note: The users are given the appropriate privileges and permissions mentioned in the BUILD Document. DBAs need to review the Build Document and should give appropriate privileges and permissions only.

Wissen GE Internal

Read Only User
• CREATE USER<username> PROFILE <default> IDENTIFIED BY <password> DEFAULT TABLESPACE <USERS> TEMPORARY TABLESPACE <temporary tablespace> QUOTA UNLIMITED ON < tablespace name>; USER NAME Always should start as per GE convention U% This user is generally created to have select privileges over objects of other schemas

• •

Wissen GE Internal

Specifications for creating schema thru CVS

Wissen GE Internal

Wissen GE Internal

QUESTIONS ?

Wissen GE Internal

THANK YOU ALL

Wissen GE Internal