>>>Use generators for the auto increment fields.
>
[quoted text clipped - 4 lines]
> You are welcome :-) You have figured out the bit about using GEN_ID
> in the 'before insert' trigger for the table, I take it.
>Hi Noel,
>
>Yes I did... Took a bit of sussing out but quite a neat trick.
>
>I don't quite know what I've done to deserve the other post but I am
>self taught so therefore don't always get the conventions right.
Its a hobby-horse of his, and like most people with hobby-horses, IMHO
he can be a little blind to the downside of them, and just a little
rude and pompous in presenting his case.
The 'standard' of having natural keys is the ideal, but is not always
the most practical. I fall somewhere between the two stools, in that
I would prefer to use natural keys in any system I design but
sometimes I recognise that natural keys are just not a practical
proposition.
However, I feel that Joe does have a very strong point when he says
that DBs using system generated keys frequently often have no means of
verifying the key, that is, no check digit calculated on the key.
>B.T.W there seems to be lots of web info on MySql, but little on
>IbSql.... I guess that I'm moving in when others are moving out! Still
>if it does the job its o.k with me.
IB and Firebird (the IB-derived open-source DBMS) are both far more
robust (IMHO) than MySQL. Firebird has the added advantage in that it
is totally free. Check out www.firebirdsql.org
eg - 24 Aug 2004 07:16 GMT
>>B.T.W there seems to be lots of web info on MySql, but little on
>>IbSql.... I guess that I'm moving in when others are moving out! Still
[quoted text clipped - 3 lines]
> robust (IMHO) than MySQL. Firebird has the added advantage in that it
> is totally free. Check out www.firebirdsql.org
Also, for more info on Firebird (and Interbase) check out the IBPhoenix
site at: http://ibphoenix.com/
Finally, Helen Borrie just published a book about Firebird. You can find
info here: http://ibphoenix.com/main.nfs?a=ibphoenix&page=ibp_firebird_book