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: design question

Re: design question

From: <vnr1995_at_gmail.com>
Date: 13 Dec 2006 13:50:54 -0800
Message-ID: <1166046654.895774.150850@73g2000cwn.googlegroups.com>

Jonathan Lewis wrote:

>
> It looks like you should have three tables:
>
> questions (question_id, etc.)
> tests(test_id, etc.)
> questions_in_test(test_id, question_id, etc.)
>
> Why have you introduced a surrogate key ?

The shop I am presently in has a standard practice to add some unique id (like a sequence or sys_guid) to each row. I don't know either advantages or disadvantages of having that surrogate key. Received on Wed Dec 13 2006 - 15:50:54 CST

Original text of this message

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