Groups > Interbase > IBConsole > Re: cascade delete difference




cascade delete difference

cascade delete difference
Mon, 26 Nov 2007 11:18:43 -080
Gelein:

I have a database that has had some metadata changes made.  Prior to making 
the changes, a particular FK constraint shows cascade delete and works 
correctly.  After making the changes, the metadata for the FK still shows as 
cascade delete, but looking at the FK via the table editor shows RESTRICT. 
I assume that the table editor is looking for the DELETE condition in some 
other system table.  Can you let me know what query the Table Editor is 
using to display FK information?

We're still trying to track down what's causing the problem.  The FK works 
fine in IB 7.1 but not in IB 2007.

Thanks,

Dan Palley
TRAMS, Inc. 

Post Reply
Re: cascade delete difference
26 Nov 2007 13:06:08 -0700
dan palley wrote:

> Gelein:
> 
> I have a database that has had some metadata changes made.  Prior to
> making the changes, a particular FK constraint shows cascade delete
> and works correctly.  After making the changes, the metadata for the
> FK still shows as cascade delete, but looking at the FK via the table
> editor shows RESTRICT. I assume that the table editor is looking for
> the DELETE condition in some other system table.  Can you let me know
> what query the Table Editor is using to display FK information?
> 
> We're still trying to track down what's causing the problem.  The FK
> works fine in IB 7.1 but not in IB 2007.
> 
> Thanks,
> 
> Dan Palley
> TRAMS, Inc.
Dan,
The table editor displays the RDB$DELETE_RULE field of
Post Reply
Re: cascade delete difference
Tue, 27 Nov 2007 12:52:16 -080
"Gelein van de Voorde" <gelein@gvsnet.nl> wrote in message 
news:474b3540$1@newsgroups.borland.com...
> dan palley wrote:
>
>> Gelein:
>>
>> I have a database that has had some metadata changes made.  Prior to
>> making the changes, a particular FK constraint shows cascade delete
>> and works correctly.  After making the changes, the metadata for the
>> FK still shows as cascade delete, but looking at the FK via the table
>> editor shows RESTRICT. I assume that the table editor is looking for
>> the DELETE condition in some other system table.  Can you let me know
>> what query the Table Editor is using to display FK information?
>>
>> We're still trying to track down what's causing the problem.  The FK
>> works fine in IB 7.1 but not in IB 2007.
>>
>> Thanks,
>>
>> Dan Palley
>> TRAMS, Inc.
> Dan,
>
> The table editor displays the RDB$DELETE_RULE field of
> RDB$REF_CONSTRAINTS.

Gelein, thanks.  I've determined that the grid on the Table Editor screen is 
wrong.  If you have more than one constraint, the settings for the 2nd one 
appear duplicated on the first one.  I've sent you some screen snaps via 
email.  Let me know if you didn't receive them.

Dan 

Post Reply
Re: cascade delete difference
27 Nov 2007 12:56:06 -0700
> Gelein, thanks.  I've determined that the grid on the Table Editor
> screen is wrong.  If you have more than one constraint, the settings
> for the 2nd one appear duplicated on the first one.  I've sent you
> some screen snaps via email.  Let me know if you didn't receive them.

Dan,
I got your mail. It helped me to find the bug, which will be fixed in
Post Reply
Re: cascade delete difference
Wed, 28 Nov 2007 10:13:18 -080
"Gelein van de Voorde" <gelein@gvsnet.nl> wrote in message 
news:474c8466$1@newsgroups.borland.com...
>> Gelein, thanks.  I've determined that the grid on the Table Editor
>> screen is wrong.  If you have more than one constraint, the settings
>> for the 2nd one appear duplicated on the first one.  I've sent you
>> some screen snaps via email.  Let me know if you didn't receive them.
>
> Dan,
> I got your mail. It helped me to find the bug, which will be fixed in
> the next beta release. Hope you got my reply too.

I didn't see your reply.  Can you resend?

Thanks,

Dan 

Post Reply
<< Previous 1 2 Next >>
( Page 1 of 2 )
about | contact