When i make a query request to a map layer with some where clause to filter the response, the arcgis server truncates the where condition while executing the query on SQL server.
I am dealing with very large data set of approx 600 millions. The arcgis version is 10.4.1
The map layer is binded with a SQL view.