Firebird constraint

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
saidus
Posts: 78
Joined: Wed 26 Oct 2005 09:54
Location: Algeria

Firebird constraint

Post by saidus » Sat 01 Nov 2008 10:45

Hello
I use firebird 2.1 and It seems that there is no RESTRICT constraint while deleting the foreign Key ...
So is there any way to implement this ..
Thanks

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 03 Nov 2008 12:11

If you create a normal foreign key for the table, the Firebird server will not allow to delete a record that has foreign key references.

saidus
Posts: 78
Joined: Wed 26 Oct 2005 09:54
Location: Algeria

Post by saidus » Wed 05 Nov 2008 07:15

thanks .. it work well

Post Reply