- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
The one gem in there is "watch out for snakes." A six foot rattler bit one of my BTs this spring when we were camping and killed him.
Admin
I aggree, a one-time change - like that caused by a merger that may or may not happen - is not a sufficient reason for using artificial keys. Our main motivation for regularly using artificial keys are not the sporadical or hypothetical changes on a given project, but the inevitable changes when doing several similar projects; extra difficulties arise from the circumstance that the ERP system our program is interfacing dictates the structure of many natural keys; there's a lot of standard ERP systems out there plus some indiviually made systems. To make some of the more sophisticated parts of the code reusable between the projects, they must not depend on the structure of the natural keys. Yes, Screens and reports probably need adjustments, but that's just a minor part of the game.
Admin
The tYearNumber might make sense if this application were designed to be in use really long, while one expects holes to form in this table in the future
In that case, the one billionth entry in the table might easily exceed 2^64, or whatever is the database's limit for integers ;-)
Admin
I shit in my pants by looking at this.
Admin
WOW
I'd like to see the ER diagram behind it and also have a look at the log file sizes of the live database.
Wonder what would happen if a normal form validator ran through the DDL script ?