drew.allen - Tuesday, February 12, 2019 12:26 PM
I'm actually not aware of what a lookup table is. Are you referring to a normalized table? Like status is the key field in the Customer table and they reference a lookup table called "CustomerStatus"?
For reference, the DB I'm referring to is maintained by our software developer. It's their design and the ERP software references the Status column (0-3) and displays Open, Hold, Closed, or Prospect based on its C# code. They decided to put the computed columns in for us customers simply for reference. No more need to write a case statement in the select clause, instead just select the StatusComputed column.
I'm interested to know more about lookup tables though. I searched it and my first hit was a Joe Celko article. Since he's not for the faint of heart (and since I fainted) I figured I'd let you respond to point me in the right direction. 😀