I currently am trying to integrate a trigger into my sql code. However, I am facing an issue where integrating the trigger yields connection issues and breaks any future queries