dbTalk Databases Forums  

Regarding problems when adding foreign keys

comp.databases.informix comp.databases.informix


Discuss Regarding problems when adding foreign keys in the comp.databases.informix forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ulf
 
Posts: n/a

Default Regarding problems when adding foreign keys - 08-03-2011 , 02:12 AM






Can't find the original post in c.d.i. but I have seen some answers on other forums that copy from c.d.i.

My original post was:
Problem 1. If it is not possible to lock table A in exclusive mode I
can't add the foreign key. Why is there a need for an exclusive lock
on table A in this situation ?

Quote:
I did receive good reasons for this, the question is answered, thank you!
Problem 2. If I succed to add the foreign key I get -710 errors when
trying to update table A.Why the -710 error on table A ?
The solution I have found is to do an update statistics on table A. Is
there other ways around the problem ?


Quote:
I should have been more clear on this. I am aware of the problem with prepared statements, but we get the -710 problem not only for prepared statements but also for a normal delete or update against table A issued from dbaccess. Table A has a trigger that calls a SPL, can this lead to this problem ?
Ulf

Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.