Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Creating schema in oracle10g express edition

Re: Creating schema in oracle10g express edition

From: Jim Smith <usenet_at_ponder-stibbons.com>
Date: Sat, 25 Nov 2006 09:44:34 +0000
Message-ID: <$El$pXKCCBaFFwoQ@jimsmith.demon.co.uk>


In message <1164409397.904974_at_bubbleator.drizzle.com>, DA Morgan <damorgan_at_psoug.org> writes
>Brian Peasland wrote:
>>> Dops:
>>> just consider a schema as a user with the objects he owns... So a
>>>schema is just a user who is owner of some objects.
>> The Oracle docs are a wonderful thing....
>>
>>http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/int
>>ro.htm#sthref69 As stated, "A schema is a collection of database
>>objects. A schema is owned by a database user and has the same name
>>as that user."
>> However, a user by itself is not a schema. Using the definition
>>above, the schema is the collection of object. A schema is not a
>>user. The schema is owned by some user. So saying that a schema is a
>>user with the object he owns is not entirely accurate. What if the
>>user owns no objects? Is that a schema? Not according to Oracle's definition.
>> Cheers,
>> Brian
>> (what's in a user?)
>
>Oracle has two different DDL statements:
>
>"CREATE USER" and "CREATE SCHEMA"
>
>What each does clearly defines the meaning of the terms.

That's rather disingenuous of you. The create schema statement is included for ANSI compatibility and is all but useless because it restricts you to tables, views and grants and only the ANSI standard versions of those.

Have you ever used create schema in a real database?

-- 
Jim Smith
Ponder Stibbons Limited <http://oracleandting.blogspot.com/>
RSS <http://oracleandting.blogspot.com/atom.xml>
Received on Sat Nov 25 2006 - 03:44:34 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US