Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: PL/SQL code in constraints?
Constraints signify relationships between entities.
Consequently it is not possible to add any procedural logic.
You'll need to use triggers.
However note, you should avoid replacing constraints completely by
triggers.
Enforcing integrity by means of triggers is about 8 times slower.
-- Sybrand Bakker Senior Oracle DBAReceived on Mon May 30 2005 - 07:47:51 CDT
![]() |
![]() |