Use trigger to insert into table if data is not already present?

You don't need to requery the table from a row-level trigger. That's what the :NEW syntax is for, e.g.

You don't need to requery the table from a row-level trigger. That's what the :NEW. Syntax is for, e.g. : INSERT INTO t3(name1,name2,num1,num2) select :NEW.

Name1,:NEW. Name2,:NEW. Num1,:NEW.

Num2 from DUAL minus select name1,name2,num1,num2 from t3; Although I think the above code looks a bit silly. I'd prefer to put a unique constraint on t3 then add a handler in the trigger to take care of any DUP_VAL_ON_INDEX exceptions.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions