Hi,
I would like to know if the following is the expected result:
from psql:
bcoproducao=# select to_date(current_date, 'DD/MM/YYYY'), current_date;
to_date | date
------------+------------
22/08/2005 | 22/08/2005
(1 row)
from my jdbc code:
rs = stmt.executeQuery("select to_date(current_date,
'DD/MM/YYYY'), current_date");
while (rs.next()) {
System.out.println(rs.getString(1) + " | "
+rs.getString(2));
}
result:
0028-01-26 | 2005-08-22
Any advice here?
Thanks!
Gilberto