Forums Register Login

setNull(2, java.sql.Types.DATE);

+Pie Number of slices to send: Send
If I use setNull(1, java.sql.Types.DATE); function, it will insert null on my table's column.
I want to select the date from another table and insert into my table's column, what should I do?
I am sure I cannot call setNull(1,java.sql.Types.DATE), it will insert NULL in my column.

Thanks in advance.
+Pie Number of slices to send: Send
no wonder he is so sad, he hasn't seen this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


Reply locked
This thread has been viewed 1270 times.
Similar Threads
Need to parse StringBuffer
addBatch - help/ideas?
preparedstatment and order by ?
JDBC and null dates
updating rows in table error
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:35:46.