MLH <CR**@NorthStat e.net> wrote:
Cardinality?
I hear it spoken of by MySQL users. Does it
matter to MS Access if MySQL tables are
attached via ODBC?
Seems to me this is two questions.
From point 8 on
http://www.sqlteam.com/item.asp?ItemID=122
"Cardinalit y helps us further understand the nature of the relationship between the
child entity and the parent entity. The cardinality of a relationship may be
determined by asking the following question: "How many instances of the child entity
relate to each instance of the parent entity?". There are four types of cardinality:
(1.) One to zero or more (common cardinality), (2.) One to one or more (P
cardinality), (3.) One to zero or one (Z cardinality), and (4.) One to exactly N (N
cardinality)."
I'd have trouble thinking of any situations where it was anything but #1. Well, ok
#2 a lot of time times as most often you are going to have child records. But #1
will exist for a few moments in time until you add the child record.
There's nothing like this in Access. I don't know for sure about SQL Server but I
doubt it. And given that case 2 is a subset of 1 and 3 or 4 are so rare it's not
worth having this specified in the database engine.
Now to me if MySQL supports this specification on the join and you break it you are
going to get some kind of error reported back to Access. Whatever and however that
works. I'd say try it and see what happens.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm