You can use the UPPER keyword on your case insensitive field then upper-case your like statement. e.g.
SELECT * FROM mytable
WHERE caseSensitiveField like 'test%'
AND UPPER(caseInsensitiveField) like 'G2%'
More Related Contents:
- How do I rename a column in a SQLite database table?
- How do I check in SQLite whether a table exists?
- Accessing an SQLite Database in Swift
- Import CSV to SQLite
- Difference between 2 dates in SQLite
- Select random row from a sqlite table
- How to get Top 5 records in SqLite?
- Sqlite primary key on multiple columns
- Can SQLite support multiple users?
- Export from sqlite to csv using shell script
- SQLite: How do I save the result of a query as a CSV file?
- Create table in SQLite only if it doesn’t exist already
- What is the difference between SQLite integer data types like int, integer, bigint, etc.?
- SQLITE_BUSY The database file is locked (database is locked) in wicket
- Does it matter what extension is used for SQLite database files?
- SQLite “INSERT OR REPLACE INTO” vs. “UPDATE … WHERE”
- Sqlite over a network share [closed]
- SQLite table constraint – unique on multiple columns
- Is there a boolean literal in SQLite?
- SQLite accent-insensitive search
- How to have an automatic timestamp in SQLite?
- svn cleanup: sqlite: database disk image is malformed
- Truncate a SQLite table if it exists?
- SELECT INTO statement in sqlite
- How to display blob value using x’abc’ binary string literal syntax?
- Unable to load DLL sqlite3 in Universal Windows App running on Mobile
- Integration Testing Entity Framework code first with in-memory database
- DbFunctions.TruncateTime LINQ equivalent in EF CORE
- How to get the number of rows of the selected result from sqlite3?
- How to get the last index of a substring in SQLite?