Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Allways return NULL when using getTimestamp() ?

Allways return NULL when using getTimestamp() ?

From: Eric <eric138_at_yahoo.com>
Date: Sat, 18 Sep 1999 10:37:41 +0800
Message-ID: <37E2FAF5.90EC2BC0@yahoo.com>


Hello,

In Oracle, I use TO_DATE('18-09-1999 10:28:56', 'DD-MM-YYYY HH24:MI:SS') to insert a date to the database.

In Java, I use resultSet.getTimestamp("somefield") to get back the value.
But it always return NULL. Would you please to tell me why ?

Best regards,
Eric Received on Fri Sep 17 1999 - 21:37:41 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US