473,386 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

RDBMS

My problem is described here in detail
http://members.home.nl/cartoonsmart/
any help, suggestions are very welcome
K.R

Nov 13 '05 #1
4 1960

"cartoonsmart" <ca**********@home.nl> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
My problem is described here in detail
http://members.home.nl/cartoonsmart/
any help, suggestions are very welcome


On just a quick glance, it seems the problem is that you need to put the
foreign key to the insured in the policy table, provided there is a record
there for each issued policy, and that it is not just common policy
information for every policy of that type. If the latter, then you will need
a junction table with foreign keys to the insured table and to the policy
table, to handle a "many-to-many" relationship.

Larry Linson
Microsoft Access MVP
Nov 13 '05 #2


Dear Mr. Linson,

What you explain is probally what I need to do. However I am not a DBA,
so I have some questions. The insured client table should only contain
one record per insured client. Now the insured client can have a maximum
of 4 insurances (because I only used four different insurances, every
insurance has its own table, I thought that one table insurance_type
would give me trouble later on plus normalization right!!). So in the
insurance_policy table one specific insured_client can occur many times
(4X in this case, but well when I like to expand to 5 or more insurances
this should be possible without hassle). The Insurance_Policy table
should contain attributes on the agent/intermediarie, insurance(type),
insured_client. Basically the Insurance_policy should consist of
attributes from other tables with exceptions a uniqe policy number which
will serve as PK. Also can I say now that an Insurance Policy has one
insured client, but an insured client has more insurance policies. And
is this then one too many or many too one(or is this the same)?
Basically can this work or am I completely off here.

Thanks a million for your attention.

PS know off a site where I can find in depth tutorials on how to use ms
visio to design my ER diagram properly and to tell me how to export it
into a real rdbms.

and I know I ask a lot!!!

*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #3
One-to-Many and Many-to-One are the same kind of relationship... which you
might talk about depends on which table you regard as primary. My tendency
is always to use One-to-Many as, almost always, the "one" side is "primary".

In your case... the insured_person table is the "one" side, and the
insurance_policy table records are each related to a single insured_person,
so they are the many side, and should contain the key of the insured_person
to which the record is related as a "foreign key". No change to the design
of the tables will be required if you add additional policy types -- it
would, and would be a nightmare, if you tried to put the foreign key
field(s) in the one side of the relationship.

This type of relationship works very well. For example, if you wanted a
report of Insured Persons and the policies they own, you could

1. Join the insured_persons and insurance_policy tables on the primary key
of the insured_persons table and the foreign key to the insured_persons
table of the insurance_policy table, and voila you get one record per
insured-and-policy matchup -- very easy to report,

OR, you could

1. Create the report on a query against the insured_persons table (or the
table itself), include a subreport control, and embed a report on the
insurance_policy table, using the primary key of the insured_person as the
LinkMasterFields and the foreign key of the insurance_policy as the
LinkChildFields property of the subreport control.

I have often used Visio to _document_ my table design, but never to design
it. I've imported my tables into Visio to get an automatic drawing, but
never done the reverse. Depending on the version of Visio and Access, you
may have to use "ODBC" and connect your own relationships if you import
them. Sorry I can't be of help. (I've been doing this stuff so long that my
"ER modeling" is done mentally, not with software.)

Larry Linson
Microsoft Access MVP
"Kevin Ramakers" <ca**********@home.nl> wrote in message
news:1Z************@news.uswest.net...


Dear Mr. Linson,

What you explain is probally what I need to do. However I am not a DBA,
so I have some questions. The insured client table should only contain
one record per insured client. Now the insured client can have a maximum
of 4 insurances (because I only used four different insurances, every
insurance has its own table, I thought that one table insurance_type
would give me trouble later on plus normalization right!!). So in the
insurance_policy table one specific insured_client can occur many times
(4X in this case, but well when I like to expand to 5 or more insurances
this should be possible without hassle). The Insurance_Policy table
should contain attributes on the agent/intermediarie, insurance(type),
insured_client. Basically the Insurance_policy should consist of
attributes from other tables with exceptions a uniqe policy number which
will serve as PK. Also can I say now that an Insurance Policy has one
insured client, but an insured client has more insurance policies. And
is this then one too many or many too one(or is this the same)?
Basically can this work or am I completely off here.

Thanks a million for your attention.

PS know off a site where I can find in depth tutorials on how to use ms
visio to design my ER diagram properly and to tell me how to export it
into a real rdbms.

and I know I ask a lot!!!

*** Sent via Developersdex http://www.developersdex.com ***

Nov 13 '05 #4

Dear Mr Linson,

I took your advice, I hope I kinda got it right. So, well could you be
so kind as to look at my database. Its available for you as an access
mdb file on http://members.home.nl/cartoonsmart
I hope to hear from you again as you have been a big help.

thanks again

Kevin Ramakers

*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Matt O'Toole | last post by:
I'm looking for a website backend. I can use PHP and other scripting languages, but I don't have access to an RDBMS. So I'm looking for an RDBMS substitute -- maybe something that reads/writes...
1
by: Marek Kotowski | last post by:
I'm preparing short dictionary and this is the question: are 'RDBMS' and 'database server' synonyms? If not, what are the differences? Thanx in advance. Regards Marek Kotowski Warsaw
17
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
3
by: Michael Lueck | last post by:
Considering a project which will target DB2 UDB on Linux as the primary / suggested platform, but also support MySQL and/or PostgreSQL as our project is GPL so it would be "slightly" rude then to...
4
by: Arijit Chatterjee | last post by:
I heard that MS Access is not at all a RDBMS.But why? Only the security feature in Access is low.We can't create multiple logins or... Other than that everything is available.So why not a...
43
by: sinister | last post by:
Is MS Access a true RDBMS?
1
by: MD | last post by:
Hello I work in a .NET environment and I am about to create a development strategy. As part of this I am looking at implementing a testing tool to fit in with an iterative approach and NUnit...
7
by: venkatbo | last post by:
Hi folks, Of TurboGers & Django WAF candidates, which one would be easier to use in an environment where the data/content doesn't come an RDBMS, but from other server-side apps... If these are...
6
by: Thomas Guettler | last post by:
Hi, most of the time I use ZODB/Durus to store my data. I like it, but I know that it has some weaknesses: - only accesible from python - I need to code your indexes for fast searching...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.