Subject Re: foreign key error
Author Alexander V.Nevsky
--- In firebird-support@yahoogroups.com, "duilio_fos" <irel_llc@l...>
wrote:
> alter table duties add foreign key (fm_depot,1) references locations
> (id_loc,depot) !!

Duilio, it will complain on 2,3,4... too :) Firstly you should
define more accurately for youself Foreign Key concept (it can't
reference for any arbitrary column in master table), secondly, check
Language Reference for syntax of it's specification.

Best regards, Alexander