If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Chit Chat > Here Brett!

View Poll Results: The surest way to database ruin is:
Use of cursors 0 0%
Dynamic SQL 0 0%
Un-normalized design 5 31.25%
All of the above 4 25.00%
Just ask Pat, he'll find it for you! 7 43.75%
Voters: 16. You may not vote on this poll

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-06-04, 15:27
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
Here Brett!

The surest way to database ruin is:
Reply With Quote
  #2 (permalink)  
Old 07-06-04, 16:37
MCrowley MCrowley is offline
Wage drone 24601
 
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,899
What about "Let the users on it"?
Reply With Quote
  #3 (permalink)  
Old 07-06-04, 21:07
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
you forgot a few other ways to crash and burn....

- surrogate keys by rote
- using NOT NULL everywhere
- executing a query in a loop

oh, i could go on and on...
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #4 (permalink)  
Old 07-06-04, 22:28
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
I'm a hardcore proponent of surrogate keys, backed up by alternate key definitions for the natural key, but we've been over that bridge before! I think you're willing to allow me to use surrogates, as long as I rigidly enforce the natural key(s) too.

Misuse of NOT NULL is definitely a path to database disaster, but I don't think I can change the poll once it is started. We'll have to live with the choices that I dreamed up on the spur of the moment, unless somebody wants to start a thread to "build a beter poll" on the road to database ruin... If they do, I'll cheerfully withdraw my poll in favor of a more robust one, with more than 30 seconds of design effort to plan it!

Inappropriate looping is a means to ruin an application in my opinion. I think that it really can't trash the database, although it can probably emphasize the design errors.

-PatP
Reply With Quote
  #5 (permalink)  
Old 07-07-04, 12:38
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
Jeeze, I fingered that with a poll like this, we'd have the denizons of dbforums gang-piling all over trying to get their votes in on this one. I guess I'll have to scare up some better bait to get people to vote!

-PatP
Reply With Quote
  #6 (permalink)  
Old 07-07-04, 13:04
Brett Kaiser Brett Kaiser is offline
Window Washer
 
Join Date: Nov 2002
Location: Jersey
Posts: 10,303
It's in the wrong forum...
__________________
Brett
8-)

It's a Great Day for America everybody!

dbforums Yak CorralRadio 'Rita
dbForums Member List
I'm Good Once as I ever was

The physical order of data in a database has no meaning.
Reply With Quote
  #7 (permalink)  
Old 08-03-04, 14:25
Enigma Enigma is offline
The SQL Apostle
 
Join Date: Jul 2003
Location: The Dark Planet
Posts: 1,394
What about ... just ask us ... we will be glad to do it for you
__________________
Get yourself a copy of the The Holy Book

order has no physical Brett in The meaning of a Kaiser . -database data
Reply With Quote
  #8 (permalink)  
Old 08-24-04, 02:57
Ryker Ryker is offline
Registered User
 
Join Date: Nov 2003
Location: Sussex, England
Posts: 404
Best way to ruin a database is

I used to work with someone who would happily make changes to a working database, and release the new version without testing it with the words, "That should work."

Often this would be follwed a few days later with, "That should have worked - they're not using it properly".

Happy days.

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On