Simple trigger question
From: Timo Salzsieder <timo_at_fh-konstanz.de>
Date: 7 Jun 1994 19:44:38 GMT
Message-ID: <2t2in6$98h_at_hermes.uni-konstanz.de>
Date: 7 Jun 1994 19:44:38 GMT
Message-ID: <2t2in6$98h_at_hermes.uni-konstanz.de>
Howdy,
sorry, but I have no manuals solving the following problems.
I have two tables.
1) Table of departments with department-name,location and number
2) Table of persons with name,address and department number
Now, I would like to delete a department and set without using referential integrity all persons department number which corresponds to the deleted department to NULL.
I would like to solve it with the creation of a trigger. Can someone send me the call of the correct "create trigger"-statement with full pl-sql-block (also no manual available).
Thanx in advance and sorry about this stupid question, Timo.
-- .------------------------------------------------------------.Received on Tue Jun 07 1994 - 21:44:38 CEST
|Timo Salzsieder internet: timo_at_fh-konstanz.de |
|Niederburggasse 8 voice: +49 (0)7531 / 2 93 63 |
| ,,, |
|78462 Konstanz, Germany (o o) |
`---------------------------------------------oOO--(_)--OOo--'