Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Users vs. Schemas
Brian Peasland wrote:
> Matthias Hoys wrote: >> "Mark D Powell" <Mark.Powell_at_eds.com> wrote in message >> news:1182967511.040233.50050_at_k79g2000hse.googlegroups.com... >>> On Jun 27, 11:14 am, HansF <fuzzy.greybe..._at_gmail.com> wrote:
>>> Pete makes an interesting argument but Oracle has published a paper in >>> May of 2007 which may also be of interest to those with access to >>> metalink: >>> >>> PUBLIC : Is it a User, a Role, a User Group, a Privilege ? >>> Document 234551.1 >>> >>> The ID is created with the command: "create role public". >>> >>> My argument was that is is a schema. >>> >>> HTH -- Mark D Powell -- >>> >>> >> >> I think of a schema as every user who owns objects, so you can have >> users with no corresponding schema. But PUBLIC is the exception on the >> rule :-) >> >> >> > > I always thought of the schema as the collections of objects owned by a > particular user. And some users have no objects. > > > Cheers, > Brian
I think it can be defined rather clearly by comparing what happens when you issue:
CREATE USER
and
CREATE SCHEMA
One creates a user with quotas and privileges ... the other creates
objects owned by a user.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Wed Jun 27 2007 - 18:56:04 CDT