Skip to content Skip to sidebar Skip to footer

Android Sqlite Wildcards

I'm trying to query with a wildcard element to search my SQLite table for entries with an element at any position in a specific variable. public String[] getCheckoutEntry(String ti

Solution 1:

Replace = operator with LIKE to make % behave like wildcard:

... where TITLE LIKE ? or ISBN LIKE ?

Reference

Post a Comment for "Android Sqlite Wildcards"