I'm having a table with 3 columns say a,b,c where a is the primary key. Consider it has a value
1 hai hello
Using triggers i need to insert another row value as
1 bye hello
please note that i want to insert the value not to update and i want to perform this in trigger.
First i have planned to do it with trigger in BEFORE INSERT, but I'm getting an error while inserting the value.
Error: Can't update table 'table1' in stored function/trigger because it is already used by statement which invoked this stored function/trigger.
I'm already having another trigger in AFTER INSERT.