Re: Hardcoding database primary key in switch statement / Design, Dependency issue

Tech-Archive recommends: Fix windows errors by optimizing your registry



I like Nicholas's idea. However, a simpler approach is the one we use, where
tables like ErrorCheck have a Moniker column with a check constraint and a
uniqueness constraint. We refer to rows via the moniker, not the ID.

///ark


.


Quantcast