ABout Date type in sql - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


ABout Date type in sql

Hai ,
This s riyas from india. I want ot design GUI based application in java.But I did not know How to store current date and time to sql via java. I tried this kind of state...
st.executeUpdate("insert into dttab values(to_date(sysdate,'dd-MMM-yyy HH24-mi-ss'))")

but it store only date ..
i want date with time and also how to rerieve it using java
................... Regarding..........
Sign In or Register to comment.