Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Referrential integrity
Hello,
We are using Oracle 8 for the database, and there are a few issues that we ran into with enforcing the refferential integrity that we would like to bounce off of Oracle gurus.
Oh, and finally, is there an easy way of debugging a trigger? If a stored procedure compiles with errors, one can view them using the SHOW ERRORs command (or use the Schema Manager). There is nothing we found that would do the trick for triggers.
We tried declaring stored procedures, using the SQL from triggers to eliminate some of the compile errors, but the problem is that triggers also use some trigger-specific syntax, like :NEW and :OLD, which do not work inside SPs.
Any suggestions to any of the possible workarounds would be greatly appreciated. Unless we are doing something radically wrong, it seems surprising that a famous and popular database, like ORACLE, would have such issues that cannot be easily resolved. Thank you all in advance!
Alex Vilner Received on Tue Nov 04 1997 - 00:00:00 CST