Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 8th, 2005, 08:20 AM
diegod diegod is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 9 diegod User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 26 sec
Reputation Power: 0
problems with Fks

IŽam making foreign keys in my DB. Everything is working fine at first buy
now IŽam having problems in the generation of this FK.
In some tables I wan`t to make some FKs to diferents tables.
But I can only make the first FK. Whe I wanŽt to make the second I have this
error from IBExpert.
I have changed the orders to make the FK and i can make ever the first one,
but in the second I have the same error.
I have thist problem in some tables only. In others I can make the FK i
want.

I`am really lost with thist.

---------- STATEMENT ----------

alter table MOVIMIENTOS_CAJA_OPERADOR
add constraint FK_MOVIMIENTOS_CAJA_OPERADO
foreign key (MOVIMIENTO)
references MOVIMIENTO(CODIGO)


---------- ERROR MESSAGE ----------

This operation is not defined for system tables.
unsuccessful metadata update.
STORE RDB$INDICES failed.
attempt to store duplicate value (visible to active transactions) in unique
index "RDB$INDEX_5".

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > problems with Fks


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT