Home » RDBMS Server » Server Administration » Help on creating user & schema
Help on creating user & schema [message #452886] Mon, 26 April 2010 01:44 Go to next message
deepikaguptafilcom
Messages: 5
Registered: April 2010
Junior Member
Hello,

Can somebody help me in understanding the difference between a user and schema on Oracle.
By difference, I do not mean what is a user and what is a schema.
I understand that if we create a user, the schema gets created by default for that user. Does that mean that we cannot create a user/schema alone.

What if I just want to create a user and grant him some read access on an existing schema or just want to create a schema.

Please help.
Re: Help on creating user & schema [message #452890 is a reply to message #452886] Mon, 26 April 2010 02:20 Go to previous messageGo to next message
Michel Cadot
Messages: 68665
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Except in rare and advanced cases (see Oracle Entreprise User) they are the same.

Regards
Michel

[Updated on: Mon, 26 April 2010 03:03]

Report message to a moderator

Re: Help on creating user & schema [message #452893 is a reply to message #452886] Mon, 26 April 2010 02:37 Go to previous messageGo to next message
ramoradba
Messages: 2456
Registered: January 2009
Location: AndhraPradesh,Hyderabad,I...
Senior Member
RTFM
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_6014.htm

sriram Smile
Re: Help on creating user & schema [message #452895 is a reply to message #452886] Mon, 26 April 2010 02:41 Go to previous messageGo to next message
deepikaguptafilcom
Messages: 5
Registered: April 2010
Junior Member
But how can I create a user without creating a schema ?? and vice versa.

Pls help
Re: Help on creating user & schema [message #452901 is a reply to message #452895] Mon, 26 April 2010 02:53 Go to previous messageGo to next message
ramoradba
Messages: 2456
Registered: January 2009
Location: AndhraPradesh,Hyderabad,I...
Senior Member
Quote:
Oracle Database automatically creates a schema when you create a user


Please read the given URL...

Goodluck
sriram Smile
Re: Help on creating user & schema [message #452903 is a reply to message #452895] Mon, 26 April 2010 03:03 Go to previous messageGo to next message
Michel Cadot
Messages: 68665
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
deepikaguptafilcom wrote on Mon, 26 April 2010 09:41
But how can I create a user without creating a schema ?? and vice versa.

Pls help

If they are the same, do you think you can?

Regards
Michel

Re: Help on creating user & schema [message #452905 is a reply to message #452886] Mon, 26 April 2010 03:23 Go to previous messageGo to next message
deepikaguptafilcom
Messages: 5
Registered: April 2010
Junior Member
Thats what I want to know.. Is it IMPOSSIBLE to create a user without creating the corresponding schema ??
and similarly creating a schema without a creating a user for it ??
Re: Help on creating user & schema [message #452907 is a reply to message #452905] Mon, 26 April 2010 03:33 Go to previous message
Michel Cadot
Messages: 68665
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Yes (but on the very specific and advanced cases).

Regards
Michel
Previous Topic: Nvarchar(4000) with setting chararterset to UTF8.
Next Topic: ASM, RMAN, Veritas Cluster, Data Guard
Goto Forum:
  


Current Time: Sat Jun 29 00:19:54 CDT 2024