Subject | Re: [IBO] Deleting cascading tables with IBO? |
---|---|
Author | Helen Borrie |
Post date | 2001-05-10T15:26:17Z |
At 05:19 PM 10-05-01 +0200, you wrote:
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>Hi,Strange...DELETE FROM should not delete tables! Are you sure that is what it does in IBExpert???
>
>I have create a master table and some detailtables.
>The detailtables have foreign key to the master table.
>The foreign key are cascade on delete.
>
>If I use the statement:
>
>DELETE FROM mastertable;
>
>On the SQL Editor from IBExpert, the master and all detailtables will be
>delete without problems.
>
>If I use the IB_Script component with the same statement, I got foreign
>key error messages!
>
>What is different at IBO?
>
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________