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 5 of 5 Topic 11017 of 11517
Post > Topic >>

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

by --CELKO-- <jcelko212@[EMAIL PROTECTED] > May 12, 2008 at 12:54 PM

>> It is enough to drive a DBA completely freaking insane...Is this sort of
thing common in CRM packages?  <<

I don't know about CRM packages, but I worked for a company that did
the same kind of crappy coding in Configuration Management software.
I reviewed a municipal public works package which only had IDENTITY
columns for keys and absolutely no column constraints. I am no longer
amazed at the level of cowboy coding in packages.

>> When a PK is deleted, rather than ON DELETE CASCADE, it looks like any
logical references to it are simply set to NULL..  <<

Done manually, instead of with ON DELETE SET NULL?  You probably don't
remember pre_RDBMS databases, but they often had a bit flag at the
start of a record to mark it as active or deleted.  The reason that
records were located by physical position within a file or pointers of
some kind.  You would do explicit garbage collection every now and
then to re-claim the disk space and to re-build the pointer chains and
links.  Another form of flag for this purpose was to set a link to NIL
by traversing down a chain to the leaf nodes, then recursively back up
the chain to the parent record.
 




 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 Wed Dec 3 0:48:45 CST 2008.