I am trying to execute my query through Java like this:
public ResultSet execSumStatment2() throws SQLException{ String query = \"Select SUM(A) as NCCSeptemb
I think you should not rely on the implicit conversion. It is a bad practice.
Instead you should try like this:
datenum >= to_date('11/26/2013','mm/dd/yyyy')
or like
datenum >= date '2013-09-01'