The query is for a partial match. In this case the entire location string is "STORECODE_CITY_LOCALITY". At this time I am simply trying to build the query as "ends with" "_LOCALITY" but intend to make similar queries for the other fields.
The main issue is that I also have location fields that I don't want to match against this query but still end with the same LOCALITY. E.g: "WAREHOUSE, ADDRESS, LOCALITY" hence the delimiter is important and the "_" undesirably matches the white space in the latter string.
HolyGuacamole wrote:
Is your query definition looking for an exact match or a partial match of the location field?