I'm developing a database, part of which involves the normal everyday personal information part.
I'm planning on either finding a database of zip-codes to cities, or having my program build one as it goes.
My question is this...
From real world examples, is this relationship unique? Can I just store the zip code in my user table as a foreign key to a table which holds zip/city/state? Or will I be asking for trouble?
Obviouslly I'd be violating normal forms to just copy the data over to the user form, but I'm a little worried there may be some cases in which the user says, hey that match is wrong for this one guy who lives on the edge of town but is in this zip code anyway, now I need to modify his town name.
Thinking I'll be ok to just foreign key it the more I type, but I'd like to hear any arguments in the negative.
Thanks,
Rob
I'm planning on either finding a database of zip-codes to cities, or having my program build one as it goes.
My question is this...
From real world examples, is this relationship unique? Can I just store the zip code in my user table as a foreign key to a table which holds zip/city/state? Or will I be asking for trouble?
Obviouslly I'd be violating normal forms to just copy the data over to the user form, but I'm a little worried there may be some cases in which the user says, hey that match is wrong for this one guy who lives on the edge of town but is in this zip code anyway, now I need to modify his town name.
Thinking I'll be ok to just foreign key it the more I type, but I'd like to hear any arguments in the negative.
Thanks,
Rob