in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

SQLite case insensitive Unicode LIKE

Last post 07-07-2010 5:24 AM by NathanMessenger. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-03-2010 8:24 PM

    • bpipe
    • Not Ranked
    • Joined on 02-04-2010
    • Posts 3

    SQLite case insensitive Unicode LIKE

     Quote from SQlite.org:

    A bug: SQLite only understands upper/lower case for ASCII characters by default. The LIKE operator is case sensitive by default for unicode characters that are beyond the ASCII range.

     Same thing happens with SQlite .NET provider though it doesn't use Native SQlite dll. As i understand this bug reproduced in .NET provider for some capability reasons. But what should i do with it when i need case insensitiv unicode like search. I can't lowercase data in DB and use String.ToLower() for like query.

    Ii need data in DB with case, and do case insensetive LIKE query....

    P.S. Thank you for nice SQLite .NET provider, i have succesfully used it in 2 projects. Pitty that now i had to switch to SQL Server Compact cause of case sensitive LIKE operator, and some performance problems with unicode TEXT fields indexes...

  • 07-07-2010 5:24 AM In reply to

    Re: SQLite case insensitive Unicode LIKE

     Robert,

    can you use this information to make SQLite finally work with non-ASCII characters?

     

    Thanks.

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems