Nested Tables - "Not using Parent / Child"

G

Guest

Hello,

I am doing a project for my company..i have some problem in designing the
database... The structure looks like this...
Activity Table has columns like
Date,Country, Dept, Process1, Process2.....where process1..is itself an sub
table consisting of fields relating to process..
Process table has columns like
Process_name,Process_Owner,Process_Date.....

I want to design the database in such a way that Process table is nested
within Activity Table...but there is no exact relationship
existing....Process Table is just a placeholder inside Activity Table..

I tried to change the data type as table name..Access didn't allow me..

Is my logic correct or Is there any other way of doing this?

Your Urgent help on this would be highly appreciated..

Cheers

Sri
 
G

Guest

Thanks for your help...now in understand it better....Alas, Access does not
support Objects and its concepts.. is that right? we have to live with
linking the tables only....
 
P

peregenem

Sri said:
Thanks for your help...now in understand it better....Alas, Access does not
support Objects and its concepts.. is that right? we have to live with
linking the tables only....

Think of it as a limitation of the relational model rather than Access
per se. But also bear in mind that the relational model has been the
best way to model data for the last few decades now so perhaps your
'mental model' which does not fit. You may also want to research
'nested sets'.
 
T

Tim Ferguson

I want to design the database in such a way that Process table is nested
within Activity Table...but there is no exact relationship
existing....Process Table is just a placeholder inside Activity Table..

I am sure that this would make sense when cast into some formal kind of
analysis. There are Activities, and there are Processes, and they are
related in some way. There are presumably different TypesOfProcesses, and
maybe even BigProcesses and SelectProcesses and IncompleteProcesses
suitable for a subtyping model.

The thought of "embedding a table within a value" brings back all those
horrid 60's and 70's designs like network databases, where you had to know
the data before being able to write the access paths. The whole point of
SQL and R theory is that you are _guaranteed_ to be able to reach the
information you want armed only with the schema.

Best wishes


Tim F
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top