Hi Michael,
Sounds like you’re passing correct arguments from your solution and not from the batch-processor.
So where is that difference coming from?
Also, pls test the query directly on sql-server with the arguments provided and see if that also fails.
Fail = difference in arguments and you need to find out what (and why) that difference exists between batch-processor/solution
Pass = Servoy headless client is doing weird things with the query, sounds like a bug.
This is really about eliminating possibilities, hard job but that’s part of programming