Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How can I insert value into a Oracle Date column Using JDBC?

843854Nov 13 2002 — edited Nov 13 2002
I have a table TEST created by "create table TEST (c1 INT, c2 Date);"

Now I want to insert some proper value into the table TEST's column c2. I couldn't do that by TRYing using Java.sql.Date, Java.Util.Date, Java.String.

Could anyone give me some suggestions by providing the sample code?

Many thanks for your help!
Wendy
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 11 2002
Added on Nov 13 2002
1 comment
297 views