Apr 1, 2002 #1 kha0s Programmer Jan 15, 2004 9 US how can I update a dateTime on a Oracle DATE column? I tryed a lot of different methods, including embedding SQL92 syntax, but I can never seem to do it. How should I do through JDBC?
how can I update a dateTime on a Oracle DATE column? I tryed a lot of different methods, including embedding SQL92 syntax, but I can never seem to do it. How should I do through JDBC?
Apr 1, 2002 #2 JeffShelley Programmer Aug 29, 2001 3 US did you try this? "update table set date = to_date(?, 'YYYY-MM-DD-HH.MI.SS.000000')" then do ... Statement.setTimestamp(your Timestamp object); Statement.executeUpdate(); Upvote 0 Downvote
did you try this? "update table set date = to_date(?, 'YYYY-MM-DD-HH.MI.SS.000000')" then do ... Statement.setTimestamp(your Timestamp object); Statement.executeUpdate();