When you need simple indicators in your tables for things like "Order Type" where each record is always going to have a value and there are very few unique values (3-10) and the column size is 1-4 characters, is it better to have the column be an integer or tiny integer? Then have other tables with a "Type" column and an integer PK column to use in the main table. An example might be something like "W" for wholesale, "R" for retail, "I" for inter company. I realize if I need to change the values I have to go back and change all of the old records, but for me this rarely happens. Just wondering if the integer columns would make for faster and better selects, etc. Most of the tables I work with have much less than a million records and are confined to one server. I think most of you will recommend the integer approach to reduce the need to ever change old records. But is there a place for using the small character fields?
Auguy
Sylvania/Toledo Ohio
Auguy
Sylvania/Toledo Ohio