A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Urgent help needed! How to set NULL value to a binary field?
Joined: Nov 05, 2001
Nov 20, 2002 15:52:00
I am calling a stored procedure in
, and I need to set a IN binary field to the NULL value. How to do it? Will stmt.setBytes(null) work?
Joined: Apr 18, 2002
Nov 20, 2002 22:56:00
Hi Liang, you can use PreparedStatement's
method. PreparedStatement is superinterface to CallableStatement.
I agree. Here's the link:
subject: Urgent help needed! How to set NULL value to a binary field?
insert null in FK field (set null in cmr field ) CMP 2.0
clear date with datetimepicker struts 2
how to set value of text field
how to get the value from the readonly field?????
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014