Article View: pl.comp.lang.delphi.bazy-danych
Article #676Re: Interbase i on update cascade
From: Traptak
Date: Sun, 23 May 1999 22:57
Date: Sun, 23 May 1999 22:57
20 lines
1429 bytes
1429 bytes
Pawel Koloszko napisał: > > create table XXX (pole_x jakis_typ primary key); > create table YYY (pole_y jakis_typ, > constraint check_poley foreign key (pole_y) references XXX(pole_x) on update > cascade); > Niestety otrzymuje blad: > > violation of FOREIGN KEY constraint "CHECK_poley" on table "YYY" > > Mam wiec pytanie czy mnie sie zle wydawalo czy moja konstrukcja jest bledna > czy tez Interbase cos kwasi ? Interbase jest w wersji 5.0 U mnie cos takiego chodzi, więc u Ciebie też powinno. Faktem jest, że mam akurat klucze skłšdajšce się z dwóch wartosci. Sprawd może, czy triggery nie przechwytujš w jakis sposób zmiany klucza. Traptak
Technical Details
Message-ID:
<374887C3.5FC61AD4@gryf.com.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!news.nask.pl!orion.cst.tpsa.pl!news.tpnet.pl!not-for-mailReferences:
<WFx13.2831$yg4.48261@news.tpnet.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!news.nask.pl!orion.cst.tpsa.pl!news.tpnet.pl!not-for-mail Message-ID: <374887C3.5FC61AD4@gryf.com.pl> From: Traptak <gidex@gryf.com.pl> X-Mailer: Mozilla 4.07 [pl] (Win98; I) MIME-Version: 1.0 Newsgroups: pl.comp.lang.delphi.bazy-danych Subject: Re: Interbase i on update cascade References: <WFx13.2831$yg4.48261@news.tpnet.pl> Lines: 27 Date: Mon, 24 May 1999 00:57:07 +0200 NNTP-Posting-Host: 195.117.32.138 X-Complaints-To: abuse@tpsa.pl X-Trace: news.tpnet.pl 927500249 195.117.32.138 (Mon, 24 May 1999 00:57:29 MET DST) NNTP-Posting-Date: Mon, 24 May 1999 00:57:29 MET DST Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit