db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nik <nicholas.tr...@gmail.com>
Subject sql query using LIKE
Date Wed, 02 Jan 2008 08:28:43 GMT
I'm getting an SQL excpetion using LIKE to match a String.
String query = "SELECT *" + 					
                        " FROM "+ tableName +
                        "WHERE DAY_OF_WEEK LIKE \""+
                        searchTerms+"\"";
is there some other way I should be doing this?
Nik

Mime
View raw message