Hi.


Following documentation, we can see:



"ENUM and SET columns provide an efficient way to define columns

that can contain only a given set of values."



  http://dev.mysql.com/doc/mysql/en/constraint_enum.html



But carefully read 

  http://dev.mysql.com/doc/mysql/en/SET.html



before you make a choice.





"Andy B" <[EMAIL PROTECTED]> wrote:

> Hi...

> I have a db that I'm writing. It's for a business directory and one of the 

> fields/columns in the table needs to have a list of business types in it 

> (i.e. retail, auto, computer and so on). Since there may be more than one 

> category that a business fits under I was wondering if "SET" is the best 

> choice for that??

> 

> 

> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to