I have the following query
String sql = select id from sheet_tab where filename in ('value.xls','export.xls')
and I am executing it using
Statement st = con.createStatement();
ResultSet rs = st.executeQuery(sql);
Now the problem is there is another file in my db with name of 'Export.xls' and when I try to fetch for 'export.xls' it doesn't return me any id (which I am finding it strange), but seems to work fine when 'Export.xls' is passed and it fetches the concurrent id for that particular file.
Can anyone pls help me with this.???
I want a query which wd fetch the result set for 'export.xls' and NOT 'Export.xls' (i.e. as case sensitive one)
P.S. LOWER func wont work as the filename is getting fetched by a javacode dynamically so we don't actually know what are the filenames that are being queried, e.g. it can be value.xls, VaLue.xls , ExPort.xls.