On Mon, 28 Feb 2005, Stephan Szabo wrote:
>
> On Mon, 28 Feb 2005, Oleg Bartunov wrote:
>
>> what's wrong to use SERIAL as FK without explicit PRIMARY KEY or UNIQUE ?
>
> Serial isn't enough to guarantee uniqueness as required by foreign keys.
you're certainly right !
>
Regards, Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83