I tried to create an Extender SQL Script Action today and couldn't get the syntax correct.
In this article I show the correct code.