Does SQL Server 2008 have a a data-type like MySQL\'s enum?
enum
CREATE FUNCTION ActionState_Preassigned() RETURNS tinyint AS BEGIN RETURN 0 END GO CREATE FUNCTION ActionState_Unassigned() RETURNS tinyint AS BEGIN RETURN 1 END -- etc...
Where performance matters, still use the hard values.