I am trying to add a filter on a DateTime field within an Input connection using the ODBC connector for Salesforce to limit the result coming into the workflow. When I try to add a filter I keep getting an error stating the syntax is incorrect, but I am not sure why. The format of the DateTime field in Salesforce is 'YYYY-MM-DDT00:00:00Z' and I tried using Select From [Table] WHERE CreatedDate < '2020-01-01T00:00:00Z' but no luck. I have also tried multiple varations of an address with the same results.
If I use the Salesforce Input connector I can use a Where clause of LAST_N_YEARS:2 which works in a sandbox, but in our production org the table is too large and times out when running so I have to use the ODBC connection. This does not work in the ODBC connection.
Does anyone know what the datetime format needs to be for this connection and how to configure it? For reference the driver is a Simba driver.