Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How do you insert/retrieve Date with JDBC?
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