This first part has been solved. Now getting syntax error. See below.
I had some missing "," in my script. This was an easy fix but was hard to find.
Powered by IDERA