$ 0 0 You only have an APPLY statement with no accompanying SELECT. You have only defined a consumer operator but no producer operator.