Cosider the Following PassthruEsql Query
SELECT VALUE m from Members AS m WHERE (1=1) AND ( (0=1) or (m.SSN like '_Data_') or (m.MemberName.LastName like '_Data_') or (m.BirthDate = 7/23/1958 12:00:00 AM) or (m.Contact.Phone like '_Data_') )
When i run above PassthruEsqlQuery it gives following error :
IdeaBlade.EntityModel.v4.EntityServerException: The query syntax is not valid, near term '12', line 1, column 163. ---> System.Data.QueryException: The query syntax is not valid, near term '12', line 1, column 163.
When i remove m.birthdate part from PassthruEsqlQuery it works fine and gives me the result.
so pl. tell whats wrong with Date Part in above passthruESql Query.
Thanks