Call MSSQL Stored Procedure from Gateway Event Script

Well, my last two posts here are under the wrong thread! :man_facepalming:
Here is my thread, and I will copy and paste these two posts to that thread.