Solved

Creating Users in Oracle9i

Posted on 2004-04-09
4
2,530 Views
Last Modified: 2009-03-25
Hi,

Please give me the syntax of creating Users in Oracle9i.

And also please refer me with some URL where i can get
good docs related to Oracle DBA

Thanks & Regards
Suresh
0
Comment
Question by:sureshk_oracle
4 Comments
 
LVL 2

Accepted Solution

by:
Ivan_Skrinjaric earned 25 total points
ID: 10794206
Hi,

the syntax is:

CREATE USER username
      IDENTIFIED {BY password | EXTERNALLY | GLOBALLY AS external_name}
         options

options:
   
   DEFAULT TABLESPACE tablespace_name
   TEMPORARY TABLESPACE tablespace_name
   QUOTA int {K | M} ON tablespace_name
   QUOTA UNLIMITED ON tablespace_name
   PROFILE profile_name
   PASSWORD EXPIRE
   ACCOUNT {LOCK|UNLOCK}

EXAMPLES

-- Create a user with no rights to save data or create objects:

CREATE USER limited IDENTIFIED BY ChangeThis


-- Create a user with full rights to create objects and save data:

DROP USER MySchemaOwner CASCADE;

CREATE USER MySchemaOwner IDENTIFIED BY ChangeThis
       DEFAULT TABLESPACE data  
       TEMPORARY TABLESPACE temp
       QUOTA UNLIMITED ON data;

GRANT CREATE procedure, CREATE session,
      CREATE table, CREATE view,
      CREATE synonym TO MySchemaOwner;


The link to complete oracle documentation is:

http://otn.oracle.com/documentation/oracle9i_arch_901.html

To browse documentation requires creating account which is free.
0
 

Expert Comment

by:vr_bala
ID: 10805168
You can information about general oracle dba in the following links also.

1) metalink.oracle.com ( you need userid/password )
2) asktom.oracle.com
3) devtrends.oracle.com
4) www.orakle.com ( Oracle related links )
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question