Jump to content

SQLite case sensitive or insensitive


gcue
 Share

Recommended Posts

i have tried using COLLATE SQL_Latin1_General_CP1_CI_AS (for case insensitive) and COLLATE SQL_Latin1_General_CP1_CS_AS (for case sensitive)

when i use these, i don't get any results. so there must be another syntax to query with these conditions?

my query:

_SQLite_Query(-1, "SELECT AssetTag FROM aAssetTracker_Login WHERE LastLogonUser='" & $search_text & "' OR PrimaryUser='" & $search_text & "' COLLATE SQL_Latin1_General_CP1_CI_AS", $hQuery)
        While _SQLite_FetchData($hQuery, $aRow) = $SQLITE_OK
            $asset_tag = $aRow[0]
        Wend

thanks in advance.

Edited by gcue
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...