Hi guys,

Lets say I have a table called 'employees', and another table called
'training_history'.

Lets say I need to delete an employee, I would also have to delete his
record in the 'training_history' table.

Which is the best way to go about this? Controlling it at application
level? Or should I need triggers (I'm using postgresql). If the latter,
how do I create triggers for this kind of situation in postgresql?

Thanks.

Regards,
Faisal

______________________________________


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to