Subject | Re: [firebird-support] Re: foreign Key Deletion |
---|---|
Author | Maurizio P. |
Post date | 2006-08-18T10:02:56Z |
Thanks for Answers
now i know more about foreign keys ,
i have a question refering to the two tables of my previous message (tBanks , tCustomers) :
i want the user cannot delete a tBanks record if it exists in the tCustomers table .
No other constraints , e.g. a tCustomer record can be not connected to any tBanks record .
...using foreign keys , i can't leave a tCustomer record without a tBanks record connected .
can i do that only with triggers ?
thanks
Maurizio
[Non-text portions of this message have been removed]
now i know more about foreign keys ,
i have a question refering to the two tables of my previous message (tBanks , tCustomers) :
i want the user cannot delete a tBanks record if it exists in the tCustomers table .
No other constraints , e.g. a tCustomer record can be not connected to any tBanks record .
...using foreign keys , i can't leave a tCustomer record without a tBanks record connected .
can i do that only with triggers ?
thanks
Maurizio
[Non-text portions of this message have been removed]