Subject | Re: [firebird-support] Avoiding pessimistic locking |
---|---|
Author | Kjell Rilbe |
Post date | 2005-10-07T06:43:05Z |
Alan McDonald wrote:
the postal service and needs to update a customer's zipcode. At the same
time, B has noticed that the customer's street address is misspelt and
wants to correct it.
I guess you could have a street addres to zipcode mapping table, but I
think that would a rather extreme kind of normalization (considering the
mapping would more or less require you to list every single street
address along with its zipcode - it would force you to store MORE data,
not less), and I doubt that you would construct two separate queries -
one for editing the zipcode and another for editing the street address.
I don't think it would be all too difficult to come up with several more
examples.
Kjell
--
--------------------------------------
Kjell Rilbe
Adressmarknaden AM AB
E-post: kjell.rilbe@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64
>>>Dmitry Sibiryakov wrote:OK then, let's assume A has received an updated table of zipcodes from
>> It smells like denormalized DB structure.
>> Can't say about delivery confirmation, but history of sent invoices
>>and accepted reclamations I'd put into separate tables...
>
> definitely - you can even have queries pertaining to different fields in the
> same table and not have conflict
> Alan
the postal service and needs to update a customer's zipcode. At the same
time, B has noticed that the customer's street address is misspelt and
wants to correct it.
I guess you could have a street addres to zipcode mapping table, but I
think that would a rather extreme kind of normalization (considering the
mapping would more or less require you to list every single street
address along with its zipcode - it would force you to store MORE data,
not less), and I doubt that you would construct two separate queries -
one for editing the zipcode and another for editing the street address.
I don't think it would be all too difficult to come up with several more
examples.
Kjell
--
--------------------------------------
Kjell Rilbe
Adressmarknaden AM AB
E-post: kjell.rilbe@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64