- 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
Admin
Much as with the article, MySQL eats everything, and shits out three times the amount of troubles.
Admin
Actually, my company does this pretty religiously as well. But we can actually keep the e-mails on our local machines, not that it would do much good...
Admin
In all the modules I have worked in - Date is contained in two (not one) character fields. A series of characters for the date, and a series of characters for the time.
But I mean, if you want to start in on SAP's database design, this isn't the first or the most grevious aspect I'd start at....
Old Ygg
Admin
I'm assuming at the moment that he couldn't do that for at least one reason: The developers used parameterized queries or stored procedures (good) but didn't know enough to do all the different data types they were using (all, you know 5 of them probably).
So, if he changed the database and not their code, it seems likely that performance issues would be moot and exception handling would come to the forefront.
Old Ygg
Admin
I don't know - how many months can he afford unemployed - or most of the rest of us?
You gotta do, what you gotta do. And sometimes that means being quiet when people do stupid things and having an up-to-date resume.
Old Ygg
Admin
It isn't really a matter of it not working. I know SAP is Enterprise, but it is pretty basic, that to decrease the size in storage of a date and time field... You should store them as numeric/decimal values instead of a crapload of characters.
Not only that, but it makes it really easy to sort by these numeric values than character ones - I should think that would be a performance gain as well.
Old Ygg