Subject | Re: [ib-support] Db Design opinions sought - Lookup tables and surrogate PKs |
---|---|
Author | Jason Chapman (JAC2) |
Post date | 2002-07-27T09:19:10Z |
All the others plus:
I use a generic lookup cache that is used clientside (it reduces joins and
therefore speeds reports etc.). It works well because it is generic and
thus relies on a standard PK symantic, i.e. integer PK's. It also makes
relationship walkers easier to write / maintain.
Therefore my vote goes for Integers.
JAC
""Rob Schuff"" <rob@...> wrote in message
news:002f01c2341b$3ee854d0$0200a8c0@picard...
I use a generic lookup cache that is used clientside (it reduces joins and
therefore speeds reports etc.). It works well because it is generic and
thus relies on a standard PK symantic, i.e. integer PK's. It also makes
relationship walkers easier to write / maintain.
Therefore my vote goes for Integers.
JAC
""Rob Schuff"" <rob@...> wrote in message
news:002f01c2341b$3ee854d0$0200a8c0@picard...
> greetings folks,whether
>
> we are having a spirited discussion at a work about lookup table and
> or not they should have a surrogate primary (integer) or whether itsbetter
> to just use the lookup value (or an uppercase'd copy of it) as the primaryto
> key. I personally have been on both sides of the fence before (normalize
> the max or be somewhat pragmatic). Anybody care to share their opinions?
>
> rob
>
>
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>