I have seen several patterns used to \'overcome\' the lack of constants in SQL Server, but none of them seem to satisfy both performance and readability / maintainability co
You can also add more fields to your status table that act as unique markers or groupers for status values. For example, if you add an isLoaded field to your status table, record 87 could be the only one with the field's value set, and you can test for the value of the isLoaded field instead of the hard-coded 87 or status description.