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: Relational database comments

Re: Relational database comments

From: Martijn Tonies <m.tonies_at_upscene.removethis.com>
Date: Fri, 8 Jun 2007 15:55:31 +0200
Message-ID: <46695fa6$0$7041$e4fe514c@dreader28.news.xs4all.nl>

> > One of the properties of a relation or table is that every row is
> > unique. If this is so,
> > what do we do with a table of comments?
> >
> > Let's say, i want to put comments on a play in a relation. Two
> > different people say
> > "It was a great play". They both say exactly the same words. How
> > can we put both comments
> > in the relation if we must have uniqueness?
> >
> If you want to preserve which person said what then the persons make the
> row unique.
> If you don't want to preserve which person said what, then there is
> indeed no need for the extra row.

Although one could say, that if these comments were added at a different time (eg: different performance of the play), that would make them unique.

:-)

-- 
Martijn Tonies
Database Workbench - development tool for Oracle, and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
Received on Fri Jun 08 2007 - 08:55:31 CDT

Original text of this message

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