setNull Method (int, int)
Sets the designated parameter to a null value, given the type of parameter to set.
Syntax
public final void setNull(int index,
int jdbcType)
Parameters
index
An int that indicates the parameter number.
jdbcType
A JDBC type code that is defined by java.sql.Types.
Exceptions
Remarks
This setNull method is specified by the setNull method in the java.sql.PreparedStatement interface.
See Also
setNull Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for