This did the trick for me with the exact same problem, thank you very much, Miguel!
Had the same issue. Originally I had my data in SDE and even if I removed the quotation marks it didn't work for me. When I moved my data to a FGDB and removed the quotation marks it did work.
I can confirm that this is indeed the case. Had the same problem.
Cheers.
Susan, try removing " (quotation marks) from your query.
Despite ArGis Query Builder uses those quotations marks, and there seems to be no problem verifying the expression using them, when working with File geodatabases file names need not quotations ArcGIS Help (10.2, 10.2.1, and 10.2.2)
I kept receiving the same error message as you from ArcMap 10.2.1 (despite not from previous versions of ArcMap), and eventually worked it out by removing quotation marks...
Best of luck!
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.