DeveloperJr
Programmer
I need to write a trigger to compare some fields when I insert a record in table to all the other records and see if we have this record before or not.
The problem is, more than one record can be inserted at a time. One of my friends told me that the trigger need to be written in such a way to expect more than one record in the inserted virtual table, he stopped at this point and didn’t give me any ideas or guide lines.
Would some one, please, elaborate a little more on this with some examples of badly written triggers that don’t take multiple records into consideration. I am totally blank on this one.
Thanks in advance