Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Creating Users in Oracle9i

Posted on 2004-04-09
4
Medium Priority
?
2,534 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 100 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In this article, we’ll look at how to deploy ProxySQL.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

885 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