setString Method (SQLServerPreparedStatement)

Sets the designated parameter to the given String value.

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

Parámetros

index

An int that indicates the parameter number.

str

A String value.

Excepciones

SQLServerException

Notas

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

Vea también

Referencia

SQLServerPreparedStatement Class

Conceptos

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members