简体   繁体   中英

search a foreign character in access database using C#

I have an Access database that contains foreign characters(Hebrew language).

How can I search the values in the column using C#? This is my code:

SELECT * FROM "table name" WHERE column_name LIKE '%שגל%'

I'm getting this error:

Syntax Error in SQL statement

Can anyone please afford your time and help me in this?

שגל- this is the Hebrew language.

I fixed the bug. I changed the column name from _region to property_region.

Why _region makes error, Is it a Keyword

Thanks for ur answer Rik, How to specify the Codepage for access

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM