![]() |
Datenbank: firebird • Version: 2.1 • Zugriff über: ibexpert
fehler beim erstellen eines unique constraint
Hallo zusammen,
ich möchte einen unique constraint auf eine tabellenspalte setzen. Dabei bekomme ich folgende Fehlermeldung : Invalid insert or update value(s): object columns are constrained - no 2 table rows can have duplicate column values. attempt to store duplicate value (visible to active transactions) in unique index "UNQ1_ARTIKELPREISE". die Überprüfung mittels sql-statement: SELECT artikel_id FROM artikelpreise GROUP BY artikel_id having count(artikel_id) > 1; ergibt aber keine doppelten Sätze :-( was mach ich falsch ? Gruss KHH |
AW: fehler beim erstellen eines unique constraint
Sind denn alle Transaktionen commited? Starte doch IBExpert neu und versuch es dann noch einmal.
|
AW: fehler beim erstellen eines unique constraint
ich danke dir, nach dem Neustart funktionierts :wall:
|
AW: fehler beim erstellen eines unique constraint
So etwas ist mir auch schon mehr als einmal passiert :zwinker:
|
AW: fehler beim erstellen eines unique constraint
dann bin ich ja beruhigt ;-)
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:06 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz