Reply to Re: Loading values of ENUM out another tabel

Your name:

Reply:


Posted by J.O. Aho on 12/23/06 13:32

Stef wrote:
> I was wondering if it is possible to load the values of a ENUM out of
> antoher table.
>
> Example:
>
> Table 1
> id Colors
> 1 A
> 2 B
> 3 C
>
> Table 2
> id car color
>
> Would it be possible to set 'color' to an ENUM type and load the different
> values of color out of table 1?

Was it this you had in mind?
http://dev.mysql.com/doc/refman/5.0/en/join.html

Works pretty in the same manner/syntax on most real SQL databases.


--

//Aho

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация