Subject | Re: Replication Best Practices |
---|---|
Author | paulfilmer |
Post date | 2004-01-09T01:35:02Z |
We use two fields for each primary key: an auto incrementer and
a 'database id' field.
That of course means in our code we often have to set the db id field
whenever we insert a record, and use it when doing joins etc. However
I wouldn't want to retro-fit it into a large application.
a 'database id' field.
That of course means in our code we often have to set the db id field
whenever we insert a record, and use it when doing joins etc. However
I wouldn't want to retro-fit it into a large application.