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 > Database Concepts & Design > Enumeration versus lookup tables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-24-07, 15:31
Frunkie Frunkie is offline
Gives Bad Advice
 
Join Date: Mar 2007
Location: 010101010110100
Posts: 791
Enumeration versus lookup tables

Hi everyone. I am fairly new to mysql and have found a data type that may my life easier but am not sure I am taking a shortcut.

I use lookup tables quite often in my models and have found that "enum" will give me the same functionality without having all of those other lookup tables around.

What would be the "correct" or the best option. Should I just use enum and forego the other tables?

Thanks! Frank
Reply With Quote
  #2 (permalink)  
Old 05-26-07, 17:40
Frunkie Frunkie is offline
Gives Bad Advice
 
Join Date: Mar 2007
Location: 010101010110100
Posts: 791
Hey guys, was my question that far out in left field?
Reply With Quote
  #3 (permalink)  
Old 05-26-07, 17:54
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
stay far away from the dreaded, evil ENUM

the horror! the horror!

do a search on "dreaded evil enum" for more info...
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #4 (permalink)  
Old 05-26-07, 18:48
Frunkie Frunkie is offline
Gives Bad Advice
 
Join Date: Mar 2007
Location: 010101010110100
Posts: 791
Thanks for the reply r937. I will do a search on that now.
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