SELECT * FROM SMFTABLE WHERE (Upper(SYMBOL) LIKE '%A%' );
The above query is giving an
ORA-00933: SQL command not properly ended exception
the query is built by the following code:
buff.append("SELECT * FROM ").append(smftable).append(" WHERE (Upper(" + (String) colNames).append(") LIKE '%").append(secString.toUpperCase()).append("%' );");