Funguje to pro vás?
Z http://blechie.com/wtilton/archive/2007/ 08/24/303.aspx
Vytvořit tabulku...
MySQL:
ColumnName ENUM('upload', 'open', 'close', 'delete', 'edit', 'add')
DEFAULT 'open'
SQL Server:
ColumnName varchar(10)
CHECK(ColumnName IN ('upload', 'open', 'close', 'delete', 'edit', 'add'))
DEFAULT 'open'