473,418 Members | 2,293 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,418 software developers and data experts.

what is it called?

Hi All,

I can't remember what it is called but I know it did have a name I
thought I remembered it as a 'cascading event' but I don't think
that's what it really is called.

senario:
your primary key has dups so when you create a query which joins the
primary key in the header to the forgien key in the detail you get
bogus results, you get a set of detail of each header record.

thanks
bobh.

Sep 5 '07 #1
11 1913
bobh wrote:
Hi All,

I can't remember what it is called but I know it did have a name I
thought I remembered it as a 'cascading event' but I don't think
that's what it really is called.
It might be called a mistake.
>
senario:
your primary key has dups so when you create a query which joins the
primary key in the header to the forgien key in the detail you get
bogus results, you get a set of detail of each header record.
How can a primary key have duplicates...unless you set it up that way as
to being a primary key and allowing duplicates? But then it would not
be a primary key...a key that makes that row unique.
>
thanks
bobh.
Sep 5 '07 #2
On Sep 5, 12:04 pm, Salad <o...@vinegar.comwrote:
bobh wrote:
Hi All,
I can't remember what it is called but I know it did have a name I
thought I remembered it as a 'cascading event' but I don't think
that's what it really is called.

It might be called a mistake.
senario:
your primary key has dups so when you create a query which joins the
primary key in the header to the forgien key in the detail you get
bogus results, you get a set of detail of each header record.

How can a primary key have duplicates...unless you set it up that way as
to being a primary key and allowing duplicates? But then it would not
be a primary key...a key that makes that row unique.


thanks
bobh.- Hide quoted text -

- Show quoted text -
I agree, it's a mistake or bad design :) but when dealing with, I
guess I would have to call them novice built apps and/or old mainframe
data downloaded to access tables that issue exists. I have run into
many, many situations where the data I have to deal with is far from
perfect or even normalized.
bobh.

Sep 5 '07 #3
bobh wrote:
On Sep 5, 12:04 pm, Salad <o...@vinegar.comwrote:
>>bobh wrote:
>>>Hi All,
>>>I can't remember what it is called but I know it did have a name I
thought I remembered it as a 'cascading event' but I don't think
that's what it really is called.

It might be called a mistake.

>>>senario:
your primary key has dups so when you create a query which joins the
primary key in the header to the forgien key in the detail you get
bogus results, you get a set of detail of each header record.

How can a primary key have duplicates...unless you set it up that way as
to being a primary key and allowing duplicates? But then it would not
be a primary key...a key that makes that row unique.

>>>thanks
bobh.- Hide quoted text -

- Show quoted text -


I agree, it's a mistake or bad design :) but when dealing with, I
guess I would have to call them novice built apps and/or old mainframe
data downloaded to access tables that issue exists. I have run into
many, many situations where the data I have to deal with is far from
perfect or even normalized.
bobh.
Well, we don't have the definition yet of yoru problem. Nor does the
word "mistake" provide any method to correct it. I guess you are going
to need to create a field, like an autonumber, to create a true primary
key. Best of luck.

Sep 5 '07 #4
"bobh" <vu******@yahoo.comwrote
I agree, it's a mistake or bad design :) but
when dealing with, I guess I would have to
call them novice built apps and/or old mainframe
data downloaded to access tables that issue exists.
The point is, that a field, or combination of fields, that allows duplicates
is, by definition, not a primary key. Some additional information, or other
information, is needed to distinguish the unique records. You don't have an
"Access problem", you have a "logic problem."

If you can determine what additional or other information is required to
distinguish between the duplicate-indexed records, and then determine which
of the related records belong with which primary record, you will be in a
position to "clean up" or "scrub" your data. Usually, the second of these
is the difficult one, because there will be no indication in the "many-side"
records of that additional information.

If you are lucky, you'll find that those records are identical copies of one
another, and can just delete them. But, usually, that will NOT be the case,
so you, or the data owner (business department affected) will have some
decisions to make.
I have run into many, many situations where
the data I have to deal with is far from
perfect or even normalized.
Yes, that does happen. And, you have to clean it up before you can use it
as relational data.

Larry Linson
Microsoft Access MVP
Sep 5 '07 #5
rkc
Salad wrote:
bobh wrote:
>On Sep 5, 12:04 pm, Salad <o...@vinegar.comwrote:
>>bobh wrote:

Hi All,

I can't remember what it is called but I know it did have a name I
thought I remembered it as a 'cascading event' but I don't think
that's what it really is called.

It might be called a mistake.


senario:
your primary key has dups so when you create a query which joins the
primary key in the header to the forgien key in the detail you get
bogus results, you get a set of detail of each header record.

How can a primary key have duplicates...unless you set it up that way as
to being a primary key and allowing duplicates? But then it would not
be a primary key...a key that makes that row unique.


thanks
bobh.- Hide quoted text -

- Show quoted text -


I agree, it's a mistake or bad design :) but when dealing with, I
guess I would have to call them novice built apps and/or old mainframe
data downloaded to access tables that issue exists. I have run into
many, many situations where the data I have to deal with is far from
perfect or even normalized.
bobh.
Well, we don't have the definition yet of yoru problem. Nor does the
word "mistake" provide any method to correct it. I guess you are going
to need to create a field, like an autonumber, to create a true primary
key. Best of luck.
Of course an autonumber is not a true primary key and does nothing to
prevent duplicate records so it wouldn't be much help to do that.

Sep 8 '07 #6
On Sep 8, 7:07 am, rkc <r...@rkcny.yabba.dabba.do.comwrote:
Of course an autonumber is not a true primary key and does nothing to
prevent duplicate records so it wouldn't be much help to do that.

Since when?

Sep 10 '07 #7
rkc
DavidB wrote:
On Sep 8, 7:07 am, rkc <r...@rkcny.yabba.dabba.do.comwrote:
>Of course an autonumber is not a true primary key and does nothing to
prevent duplicate records so it wouldn't be much help to do that.


Since when?
Since always.
Sep 10 '07 #8
On Sat, 08 Sep 2007 07:07:35 -0400, rkc <rk*@rkcny.yabba.dabba.do.com>
wrote:
>
Of course an autonumber is not a true primary key and does nothing to
prevent duplicate records so it wouldn't be much help to do that.

rkc,

Would you be so kind as to explain that? I thought that the intended
purpose of an autonumber was to generate a unique value and that any
attribute that uniquely identified a record could function as a
primary key.

Thanks in advance
Sep 11 '07 #9
On Sep 10, 11:26 pm, Arch <send...@spam.netwrote:
On Sat, 08 Sep 2007 07:07:35 -0400, rkc <r...@rkcny.yabba.dabba.do.com>
wrote:
Of course an autonumber is not a true primary key and does nothing to
prevent duplicate records so it wouldn't be much help to do that.

rkc,

Would you be so kind as to explain that? I thought that the intended
purpose of an autonumber was to generate a unique value and that any
attribute that uniquely identified a record could function as a
primary key.

Thanks in advance
It is. The autoumber indeed generates a unique number per record. It
is (all but) the only way to ensure that you have a true unique
identifier for a record and is exactly its purpose. People often fall
for the trap of equating a sequential autonumber field with a record
number though. I always use random autonumbers just to avoid even the
appearance that the field is of any significance other than a unique
record id. Perhaps the other person is saying that it does not
prevent a person from entering any gievn data in the other fields in
your record structure. Thats rather obvious though as a user (unless
constrained by other methods, can enter what he damn well pleases in
any field.

Sep 11 '07 #10
On Sep 5, 8:37 am, bobh <vulca...@yahoo.comwrote:
Hi All,

I can't remember what it is called but I know it did have a name I
thought I remembered it as a 'cascading event' but I don't think
that's what it really is called.

senario:
your primary key has dups so when you create a query which joins the
primary key in the header to the forgien key in the detail you get
bogus results, you get a set of detail of each header record.

thanks
bobh.
Bob:

I beleive the term you are searching for is the "Cartesian Effect".

Jana

Sep 12 '07 #11
On Sep 12, 1:04 pm, Jana <Bauer.J...@gmail.comwrote:
On Sep 5, 8:37 am,bobh<vulca...@yahoo.comwrote:
Hi All,
I can't remember what it is called but I know it did have a name I
thought I remembered it as a 'cascading event' but I don't think
that's what it really is called.
senario:
your primary key has dups so when you create a query which joins the
primary key in the header to the forgien key in the detail you get
bogus results, you get a set of detail of each header record.
thanks
bobh.

Bob:

I beleive the term you are searching for is the "Cartesian Effect".

Jana
Thanks :)

Sep 24 '07 #12

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

Similar topics

24
by: Xah Lee | last post by:
in computer languages, often a function definition looks like this: subroutine f (x1, x2, ...) { variables ... do this or that } in advanced languages such as LISP family, it is not uncommon...
56
by: Xah Lee | last post by:
What are OOP's Jargons and Complexities Xah Lee, 20050128 The Rise of Classes, Methods, Objects In computer languages, often a function definition looks like this: subroutine f (x1, x2, ...)...
6
by: Efim | last post by:
Hi all, Due to performance issue, I want to pevent execution of ToString() function in the code like the following: if(reporting_level & DEBUG_LEVEL) log(reporting_level,string.Format("Event of...
12
by: z. f. | last post by:
what's the difference between using the VB.NET function IIF or the c# operator ? VB.NET: a = iif ( b=c, d, e) C#: a= (b==c)?d:e TIA, z.
21
by: Helge Jensen | last post by:
I've got some data that has Set structure, that is membership, insert and delete is fast (O(1), hashing). I can't find a System.Collections interface that matches the operations naturally offered...
4
by: Rachel Suddeth | last post by:
What is the difference between a managed/unmanaged resource, and how do you tell which is which? I'm trying to understand how to write some Dispose() methods, and we are supposed to put code that...
2
by: Martin Høst Normark | last post by:
Hi everyone Has anyone got the least experience in integrating the Digital Signature with an ASP.NET Web Application? Here in Denmark, as I supose in many other countries, they're promoting...
18
by: Xah Lee | last post by:
What are OOP's Jargons and Complexities Xah Lee, 20050128 Classes, Methods, Objects In computer languages, often a function definition looks like this: subroutine f (x1, x2, ...) {...
6
by: Jack | last post by:
I have a set of functions to wrap a library. For example, mylib_init() mylib_func() mylib_exit() or handle = mylib_init() mylib_func(handle)
5
by: Mike Kent | last post by:
For Python 2.5 and new-style classes, what special method is called for mylist = seq and for del mylist (given that mylist is a list, and seq is some sequence)? I'm trying to subclass list, and...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.