Hi!
I have two tables TABLE1 and TABLE2 each has it's own primary key. TABLE2
has a foreign key to TABLE1 and TABLE1 has foreign key to TABLE2. Now I
have done a LOAD FROM NUL REPLACE INTO TABLE1 and LOAD FROM NUL REPLACE
INTO TABLE2 and both tables are in Set Integrity Pending state.
If I do SET INTEGRITY FOR TABLE1 IMMEDIATE CHECKED first I get:
SQL3608N Cannot check a dependent table "TABLE1" using the SET
INTEGRITY statement while the parent table or underlying table
"TABLE2" is in the Set Integrity Pending state or if it will be put
into the Set Integrity Pending state by the SET INTEGRITY statement.
SQLSTATE=428A8
If I do SET INTEGRITY FOR TABLE2 IMMEDIATE CHECKED first I get:
SQL3608N Cannot check a dependent table "TABLE2" using the SET
INTEGRITY statement while the parent table or underlying table
"TABLE1" is in the Set Integrity Pending state or if it will be put
into the Set Integrity Pending state by the SET INTEGRITY statement.
SQLSTATE=428A8
Im in a magic loop here. :)))
Is there a way to get out ? :))
Best regards,
Kovi
--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- 4 5717
Hi!
I just dropped the foreign key from TABLE1 to TABLE2 and recreated it alter
successfull SET INTEGRITY.
Best regards,
Kovi
Gregor Kovač wrote:
Hi!
I have two tables TABLE1 and TABLE2 each has it's own primary key. TABLE2
has a foreign key to TABLE1 and TABLE1 has foreign key to TABLE2. Now I
have done a LOAD FROM NUL REPLACE INTO TABLE1 and LOAD FROM NUL REPLACE
INTO TABLE2 and both tables are in Set Integrity Pending state.
If I do SET INTEGRITY FOR TABLE1 IMMEDIATE CHECKED first I get:
SQL3608N Cannot check a dependent table "TABLE1" using the SET
INTEGRITY statement while the parent table or underlying table
"TABLE2" is in the Set Integrity Pending state or if it will be put
into the Set Integrity Pending state by the SET INTEGRITY statement.
SQLSTATE=428A8
If I do SET INTEGRITY FOR TABLE2 IMMEDIATE CHECKED first I get:
SQL3608N Cannot check a dependent table "TABLE2" using the SET
INTEGRITY statement while the parent table or underlying table
"TABLE1" is in the Set Integrity Pending state or if it will be put
into the Set Integrity Pending state by the SET INTEGRITY statement.
SQLSTATE=428A8
Im in a magic loop here. :)))
Is there a way to get out ? :))
Best regards,
Kovi
--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
On Thu, 01 Mar 2007 10:07:00 +0100, Gregor Kova?
<gr**********@mikropis.siwrote:
>Hi!
I have two tables TABLE1 and TABLE2 each has it's own primary key. TABLE2 has a foreign key to TABLE1 and TABLE1 has foreign key to TABLE2. Now I have done a LOAD FROM NUL REPLACE INTO TABLE1 and LOAD FROM NUL REPLACE INTO TABLE2 and both tables are in Set Integrity Pending state.
If I do SET INTEGRITY FOR TABLE1 IMMEDIATE CHECKED first I get: SQL3608N Cannot check a dependent table "TABLE1" using the SET INTEGRITY statement while the parent table or underlying table "TABLE2" is in the Set Integrity Pending state or if it will be put into the Set Integrity Pending state by the SET INTEGRITY statement. SQLSTATE=428A8
If I do SET INTEGRITY FOR TABLE2 IMMEDIATE CHECKED first I get: SQL3608N Cannot check a dependent table "TABLE2" using the SET INTEGRITY statement while the parent table or underlying table "TABLE1" is in the Set Integrity Pending state or if it will be put into the Set Integrity Pending state by the SET INTEGRITY statement. SQLSTATE=428A8
Im in a magic loop here. :))) Is there a way to get out ? :))
Best regards,
Kovi
Yep. Do both at the same time.
SET INTEGRITY FOR TABLE1, TABLE2 IMMEDIATE CHECKED
B.
Brian Tkatch <N/Awrote:
On Thu, 01 Mar 2007 10:07:00 +0100, Gregor Kova?
<gr**********@mikropis.siwrote:
>>Hi!
I have two tables TABLE1 and TABLE2 each has it's own primary key. TABLE2 has a foreign key to TABLE1 and TABLE1 has foreign key to TABLE2. Now I have done a LOAD FROM NUL REPLACE INTO TABLE1 and LOAD FROM NUL REPLACE INTO TABLE2 and both tables are in Set Integrity Pending state.
If I do SET INTEGRITY FOR TABLE1 IMMEDIATE CHECKED first I get: SQL3608N Cannot check a dependent table "TABLE1" using the SET INTEGRITY statement while the parent table or underlying table "TABLE2" is in the Set Integrity Pending state or if it will be put into the Set Integrity Pending state by the SET INTEGRITY statement. SQLSTATE=428A8
If I do SET INTEGRITY FOR TABLE2 IMMEDIATE CHECKED first I get: SQL3608N Cannot check a dependent table "TABLE2" using the SET INTEGRITY statement while the parent table or underlying table "TABLE1" is in the Set Integrity Pending state or if it will be put into the Set Integrity Pending state by the SET INTEGRITY statement. SQLSTATE=428A8
Im in a magic loop here. :))) Is there a way to get out ? :))
Best regards, Kovi
Yep. Do both at the same time.
SET INTEGRITY FOR TABLE1, TABLE2 IMMEDIATE CHECKED
B.
Yes, much easier way. :)) I was looking at the syntax, but just didn't see
that back arrow. :((
Best regards,
Kovi
--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
On Thu, 01 Mar 2007 21:27:00 +0100, Gregor Kova?
<gr**********@mikropis.siwrote:
>Brian Tkatch <N/Awrote:
>On Thu, 01 Mar 2007 10:07:00 +0100, Gregor Kova? <gr**********@mikropis.siwrote:
>>>Hi!
I have two tables TABLE1 and TABLE2 each has it's own primary key. TABLE2 has a foreign key to TABLE1 and TABLE1 has foreign key to TABLE2. Now I have done a LOAD FROM NUL REPLACE INTO TABLE1 and LOAD FROM NUL REPLACE INTO TABLE2 and both tables are in Set Integrity Pending state.
If I do SET INTEGRITY FOR TABLE1 IMMEDIATE CHECKED first I get: SQL3608N Cannot check a dependent table "TABLE1" using the SET INTEGRITY statement while the parent table or underlying table "TABLE2" is in the Set Integrity Pending state or if it will be put into the Set Integrity Pending state by the SET INTEGRITY statement. SQLSTATE=428A8
If I do SET INTEGRITY FOR TABLE2 IMMEDIATE CHECKED first I get: SQL3608N Cannot check a dependent table "TABLE2" using the SET INTEGRITY statement while the parent table or underlying table "TABLE1" is in the Set Integrity Pending state or if it will be put into the Set Integrity Pending state by the SET INTEGRITY statement. SQLSTATE=428A8
Im in a magic loop here. :))) Is there a way to get out ? :))
Best regards, Kovi
Yep. Do both at the same time.
SET INTEGRITY FOR TABLE1, TABLE2 IMMEDIATE CHECKED
B.
Yes, much easier way. :)) I was looking at the syntax, but just didn't see that back arrow. :((
Best regards,
Kovi
Neither did i!!! I posted this a little while back too. It is
especially useful for ignoring reference order.
B. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jon Davis |
last post by:
How do I get the Immediate window back? It seems to be gone. Command window
doesn't work. "View" menu items don't seem to show it
Jon
|
by: Stephen Corey |
last post by:
Why doesn't the Intellisense feature work in the Immediate/Command
window in VC++ .NET 2003? In VB.NET 2003, it works fine. For example,
typing:
?this.
in VB.NET would bring up the...
|
by: Russell Stevens |
last post by:
Can anyone tell me how to get to the immediate window in VS2005. The help
file says (when debugging) to click Debug, Windows, Immediate. There is no
Immediate window listed there, nor anywhere else...
|
by: Beau Gould |
last post by:
JOB: Telecommute Python Programmer - IMMEDIATE NEED
Please see www.superiorss.com/jobs.htm
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus...
|
by: Al_C |
last post by:
Hi,
I must have done something to my VBExpress configuration as I no longer
can see anything in my immediate window when I try to output to it using
debug.write("something")
Any suggestions....
|
by: vul |
last post by:
In VB6 I used to use Immediate Window to get or change values of variables.
It is very convenient while debugging. I used drag and drop operation to
paste the variable name into Immediate Window....
|
by: dgk |
last post by:
Using VS2005 Standard Edtion, I have an Immediate window during ASP
debugging. My co-worker, using VS2005 Team Edtion does not have an
Immediate window. He does have a Command window, which is sort...
|
by: Frank Rizzo |
last post by:
I am using the Immediate Window a lot to see the progress of the
application. In VS2003, if your cursor was at the very bottom, the
window would scroll down whenever something new showed up. If...
|
by: Rahul Babbar |
last post by:
Hi,
I have the following doubt.
Suppose I use the execute immediate statement and the statement to be
executed is a Select statement from the sysibm.sysdummy1 table which
will always return...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |