Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Usenet -> comp.databases.theory -> Re: Database design

Re: Database design

From: Woody <>
Date: Sun, 16 Mar 2003 00:36:18 -0800
Message-ID: <>

If I read your message correctly, an approach you MIGHT be able to look at would be to identify genericly needed information then add a number of generic definition attributes. As an example, you'll need a CTID attribute (clinical trial id) and maybe some kind of Trial Date attribute. All records will require these two pieces of data regardless of the CT. Then there would be specific data that only relates to a specific CT. These would just be identifed, generically, as Value1, Value2, Value3, ..... In a "control file" you would put what the contents of attribute Value1 would represent. Say CTID 001 would have Value1 data being a specific drug's units of measure, Value2 would be the quantity of the units of measure and Value3 would be a comment of that result. You could use the "control file" information for reports, entry screen labels. For doing ad-hoc reports, I'd probably look at creating some kind of statement builder that would produce the proper select statements, or whatever your environment needs. Shouldn't be too tough. The only problem I can think of is setting the maximum number of generic attributes but that depends on your environment.

Food for thought. Hope it helps.

On Wed, 12 Mar 2003 22:05:32 +0100, "" <> wrote:

>basing on the info you provided, the advise one can give you depends on an
>answer to the question: should the information for the trial be structured
>in any way or it might be a free text.
>In the last case the BLOB (CLOB) column would help you. There you can hold
>any unstructured information└
>The requirement to have information structured, makes your life much more
>complicated. There are different approaches you can use, each depends on the
>business task you have (how the information should be structured). If you
>are in this case, pls provide more information to give you some valueable
> Evgen
>"john" <> wrote in message
>> Hi,
>> I am creating a database for a web application. The idea for the
>> is for a company administrator to be able to log into the site and
>> staff to a project which will be a clinical trial at a particular
>> Staff will be able to log in and update the status of the project they are
>> working on and clients will be able to log in and book a member of staff.
>> Administrators will be able to add / edit / delete - staff / clients /
>> clinical trials.
>> Here is my database diagram:
>> My problem is each different clinical trail will need to have different
>> collected for it. How could I handle this in the database model? The
>> administrator would like to be able to edit the data collected for each
>> trial via the site...
>> Any other comments on my database model would be appreciated as this is my
>> weakest area of web development by far!
Received on Sun Mar 16 2003 - 02:36:18 CST

Original text of this message