问题
I was reading this link: Does PostgreSQL support "accent insensitive" collations? about how to use accent insensitive queries. and this link PostgreSQL: How to make "case-insensitive" query about using case insensitive queries. Tested a query in pgAdmin:
SELECT *
FROM Customers
WHERE unaccent(Customers.customername) ILIKE unaccent('abc%')
and it works fine. It gives me the expected results.
However, my front end is in MS Access 2016, is there a way to send this query to Postgres from within MS Access? Neither DoCmd.RunSQL nor CreateQueryDef work because they expect SQL that Ms Access understands.
来源:https://stackoverflow.com/questions/64330495/postgresql-syntax-in-ms-access