Subject | Re: [firebird-support] Firebird Foreign Key + Unique Constraint ( One/Zero-To-One) |
---|---|
Author | Thomas Steinmaurer |
Post date | 2012-09-19T05:59:22Z |
Carlos,
http://tracker.firebirdsql.org/browse/CORE-651
--
With regards,
Thomas Steinmaurer
http://www.upscene.com/
> Is it possible to combine a Foreign Key + a Unique Constraint to avoidVote for it:
> duplicate index ?
>
> ALTER TABLE SVCs_Batch ADD
> CONSTRAINT RF_SVCs_Batch2XDRs_Batch
> FOREIGN KEY (Id_XDRs_Batch) REFERENCES XDRs_Batch(Id_XDRs_Batch)
> using *UNIQUE* index FK_SVCs_Batch_XDRs_BATCH;
>
> this is not (yet) accepted !
http://tracker.firebirdsql.org/browse/CORE-651
--
With regards,
Thomas Steinmaurer
http://www.upscene.com/