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 -> Re: How do you insert/retrieve Date with JDBC?

Re: How do you insert/retrieve Date with JDBC?

From: mark tomlinson <micro_at_work.org>
Date: Wed, 27 Jan 1999 23:57:28 GMT
Message-ID: <36afa7d3.8303067@newshost.us.oracle.com>


On Thu, 14 Jan 1999 07:05:11 -0500, Gene Smith <jesmith_at_sherwin.com> wrote:

>
>How do you insert and retrieve a java.Sql.Date data type using only a
>statement, not a preparedStatement?
>I assume the Oracle column has to be of type Date as well. I've been
>doing a lot of experimenting and getting nowhere. Any help will be
>appreciated!
>
>Gene
>
>

You would probably want to use the TO_DATE() SQL function. Received on Wed Jan 27 1999 - 17:57:28 CST

Original text of this message

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