Bewerken

Delen via


setString Method (SQLServerPreparedStatement)

Download JDBC driver

Sets the designated parameter to the given String value.

Syntax

  
public final void setString(int index,  
                            java.lang.String str)  

Parameters

index

An int that indicates the parameter number.

str

A String value.

Exceptions

SQLServerException

Remarks

This setString method is specified by the setString method in the java.sql.PreparedStatement interface.

See Also

SQLServerPreparedStatement Members
SQLServerPreparedStatement Class