Click here to Skip to main content
15,911,786 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: Database - Use number or character? Pin
Jeremy Falcon1-Aug-14 5:45
professionalJeremy Falcon1-Aug-14 5:45 
GeneralRe: Database - Use number or character? Pin
PIEBALDconsult1-Aug-14 6:22
mvePIEBALDconsult1-Aug-14 6:22 
GeneralRe: Database - Use number or character? Pin
Jeremy Falcon1-Aug-14 8:19
professionalJeremy Falcon1-Aug-14 8:19 
GeneralRe: Database - Use number or character? Pin
PIEBALDconsult1-Aug-14 8:40
mvePIEBALDconsult1-Aug-14 8:40 
GeneralRe: Database - Use number or character? Pin
Jeremy Falcon1-Aug-14 9:02
professionalJeremy Falcon1-Aug-14 9:02 
GeneralRe: Database - Use number or character? Pin
PIEBALDconsult1-Aug-14 9:18
mvePIEBALDconsult1-Aug-14 9:18 
GeneralRe: Database - Use number or character? Pin
Jeremy Falcon1-Aug-14 10:05
professionalJeremy Falcon1-Aug-14 10:05 
GeneralRe: Database - Use number or character? Pin
PIEBALDconsult1-Aug-14 10:47
mvePIEBALDconsult1-Aug-14 10:47 
Jeremy Falcon wrote:
look-up table


Same thing -- look up the translation for some code. They were called translation tables when I was using Oracle in the 90s.


Jeremy Falcon wrote:
SQL Server needs a type for that


I see no need to have a special type and all the added functionality it entails; it's just another table.


Jeremy Falcon wrote:
F, T, and * is much more readable


Well, that's what this whole thread is discussing, but it seems you have a camp all your own Big Grin | :-D , right in between the others -- insert a character but actually store a number.


I work with a lot of databases, including MySQL, and I prefer to stay within the common areas as much as possible, and I need a pretty good reason to use something that only one database supports.
So sure, just as SQL Server recently added sequences (which Oracle has had for longer than I can recall), it seems like a reasonable feature to add -- to increase that common area.
But this particular feature seems like it could hurt performance with very little benefit -- I don't see how it can perform better than the current way that translation/look-up tables are used, and may be (slightly) worse.

As with SELECT *, I think it's a boon to interactive users who can benefit from a way to reduce command length and complexity (primarily by eliminating JOINs), but not something that an application benefits from. You've probably heard the arguments against SELECT * in code.

Performance is also not as big a concern with interactive users writing ad hoc queries as it is with 24/7 enterprise applications.
You'll never get very far if all you do is follow instructions.

GeneralRe: Database - Use number or character? Pin
Jeremy Falcon1-Aug-14 12:06
professionalJeremy Falcon1-Aug-14 12:06 
GeneralRe: Database - Use number or character? Pin
PIEBALDconsult1-Aug-14 12:16
mvePIEBALDconsult1-Aug-14 12:16 
GeneralRe: Database - Use number or character? Pin
Jeremy Falcon1-Aug-14 12:36
professionalJeremy Falcon1-Aug-14 12:36 
AnswerRe: Database - Use number or character? Pin
Wendelius1-Aug-14 5:45
mentorWendelius1-Aug-14 5:45 
GeneralAt office too Pin
chriselst1-Aug-14 3:52
professionalchriselst1-Aug-14 3:52 
GeneralRe: At office too Pin
JMK-NI1-Aug-14 4:00
professionalJMK-NI1-Aug-14 4:00 
GeneralRe: At office too Pin
Simon_Whale1-Aug-14 4:11
Simon_Whale1-Aug-14 4:11 
GeneralRe: At office too Pin
Bergholt Stuttley Johnson1-Aug-14 4:17
professionalBergholt Stuttley Johnson1-Aug-14 4:17 
GeneralBuilding Python Pin
Brisingr Aerowing1-Aug-14 3:01
professionalBrisingr Aerowing1-Aug-14 3:01 
GeneralRe: Building Python Pin
JimmyRopes1-Aug-14 3:03
professionalJimmyRopes1-Aug-14 3:03 
GeneralRe: Building Python Pin
Brisingr Aerowing1-Aug-14 4:33
professionalBrisingr Aerowing1-Aug-14 4:33 
QuestionRe: Building Python Pin
Paulo Augusto Kunzel1-Aug-14 3:54
professionalPaulo Augusto Kunzel1-Aug-14 3:54 
AnswerRe: Building Python Pin
Brisingr Aerowing1-Aug-14 4:32
professionalBrisingr Aerowing1-Aug-14 4:32 
GeneralAt office 2 Pin
TheWebDeveloper1-Aug-14 2:38
TheWebDeveloper1-Aug-14 2:38 
GeneralRe: At office 2 Pin
CPallini1-Aug-14 2:39
mveCPallini1-Aug-14 2:39 
GeneralMessage Closed Pin
1-Aug-14 3:38
TheWebDeveloper1-Aug-14 3:38 
GeneralRe: At office 2 Pin
TheWebDeveloper1-Aug-14 3:39
TheWebDeveloper1-Aug-14 3:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.