Home » RDBMS Server » Server Administration » urgent plz help me
urgent plz help me [message #375147] Tue, 31 July 2001 08:02 Go to next message
Amit
Messages: 166
Registered: February 1999
Senior Member
hai!
I created 7 child relations for a single relation. I want to delete one row from the parent table. I created a trigger which deletes the corresponding rows from the child tables. I dont have a chance of cascade delete. plz help me by suggesting the trigger in the right way. it is giving the message constraint voilated. child record found

any help is appreciated
thanks in advance
amit
Re: urgent plz help me [message #375148 is a reply to message #375147] Tue, 31 July 2001 09:47 Go to previous messageGo to next message
Senthil
Messages: 68
Registered: December 1999
Member
Create a "before delete" trigger on a parent table...the trigger code has to delete all related rows from the child table...finaly...delete a row from the master table.
Re: urgent plz help me [message #375152 is a reply to message #375148] Tue, 31 July 2001 12:54 Go to previous message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
http://www.akadia.com/services/ora_mutating_table_problems.html
Previous Topic: performance
Next Topic: URGENT need performance tip
Goto Forum:
  


Current Time: Tue Dec 24 08:18:01 CST 2024