Working with triggers
You SHOULD NOT:-
-
Use triggers. They can affect performance and hide business logic. Consider moving the required logic to another part of the application. It makes support and maintenance easier!
-
Return data from a trigger using either
SELECTorPRINT.
Further reading and information