Re: Sequence Numbers as Primary Keys
Date: 1995/10/01
Message-ID: <44np90$1t3_at_vespucci.iquest.com>#1/1
And this can come back to haunt you. I'm working on a project where every single table uses a sequence generator for it's unique key (this was decided before I joined the project). The only problem is as new versions of our system is developed our database changes. So we maintain multiple versions of the database. Only one small problem - the sequences are different in the different versions of the database. Only one other small problem - sequences are different in our development database then the installed databases. So we are now developing a tool that dumps out the database sans sequence numbers and reloads all the data to synchronize the primary keys. Just do that a few times every six months.
Ed Bruce Received on Sun Oct 01 1995 - 00:00:00 CET