Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft SQL Server > Re: Orphaned tu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 11017 of 11334
Post > Topic >>

Re: Orphaned tupels, should I clean or is it ok to leave?

by Tom van Stiphout <no.spam.tom7744@[EMAIL PROTECTED] > May 1, 2008 at 09:45 PM

On Fri, 2 May 2008 14:19:57 +1000, "John Sheppard" <spam@[EMAIL PROTECTED]
>
wrote:

I am a purist and would not allow bad data in my database. But I'm
also a realist and your suggestion makes some sense. However, I have
seen that the desire to clean up the data disappears as the app is
taken into production and no immediate averse effects are noticed. You
and I know that's just a matter of time...
Also look at it this way. If I have Orders for a CustomerID that no
longer exists, I have limited options:
1: Do research in printed invoices in some filing cabinet and try to
find the missing customer and recreate him. A time-consiming
proposition.
2: Delete the orphans. Most are old. None can be recovered easily.
3: Assign all orphans to CustomerID=-1,
CustomerName=UnknownBadStuffLeftFromEarlierDays

Personally I would keep the Access app for research purposes, and
choose option 2. ˇNo Pasarán!

-Tom.


>Hello there,
>
>I was wondering if anyone could give me some advice on orphaned rows and 
>foreign key constraints.
>
>I am migrating a MS-Access database that didnt have any relations setup 
>properly, consequently there are gazillions of orphaned tuples.
>
>If I was to leave these as they were and set constraints with NO CHECK is
it 
>likly that I am going to run into problems down the track?
>
>Some may shudder that I would consider not cleaning the data but we have
a 
>timeline and there is months of cleaning to do, its something I would
prefer 
>to do after we make our deadlines.
>
>Thank you
>John Sheppard
>
 




 5 Posts in Topic:
Orphaned tupels, should I clean or is it ok to leave?
"John Sheppard"  2008-05-02 14:19:57 
Re: Orphaned tupels, should I clean or is it ok to leave?
Tom van Stiphout <no.s  2008-05-01 21:45:27 
Re: Orphaned tupels, should I clean or is it ok to leave?
--CELKO-- <jcelko212@[  2008-05-03 17:00:19 
Re: Orphaned tupels, should I clean or is it ok to leave?
aj <ronald@[EMAIL PROT  2008-05-12 10:03:50 
Re: Orphaned tupels, should I clean or is it ok to leave?
--CELKO-- <jcelko212@[  2008-05-12 12:54:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 28 20:19:20 CDT 2008.