Subject | Re: [ib-support] another Error |
---|---|
Author | Svein Erling Tysvær |
Post date | 2001-07-27T09:47:50Z |
>Violation of FOREIGN KEY constraint "INTEG_95" on table "SCHICHT"Don't know the answer to your question, but try
>Statement: Alter table DATEN add foreign key (SCHICHT) references
>SCHICHT (SCHICHTID) on update no action on delete cascade
>How to find out what fields are indexed or referenced by INTEG_95 ?
SELECT DISTINCT SCHICHT FROM DATEN
WHERE NOT EXISTS(SELECT 1 FROM SCHICHT WHERE SCHICHT.SCHICHTID =
DATEN.SCHICHT)
to find which values of SCHICHT exist in DATEN that is not in your SCHICHT
table.
Set