Skip to Main Content

New to Java

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 to set the datetime value using preparedstatement?

807598Aug 30 2006 — edited Aug 31 2006
Hi
i have one string var which contains the value as "2006-12-30 10:10 AM"

how to set this string value insert into the table in MS Sql server
using prepared stamtement? in ms sql server my field datatype is datetime.
PreparedStatement ps.setMethod();
Plz provide me the help.

regards
venki
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 28 2006
Added on Aug 30 2006
3 comments
725 views