Share via


getNString Method (int) (SQLServerCallableStatement)

Retrieves the value of the designated NCHAR, NVARCHAR, or LONGNVARCHAR parameter as a String in the Java programming language.

Note

This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

public final java.lang.String getNString(int parameterIndex)

Parameters

parameterIndex

An int that indicates the parameter index.

Return Value

A String object.

Exceptions

SQLServerException

Remarks

This getNString method is specified by the getNString method in the java.sql.CallableStatement interface.

See Also

Concepts

getNString Method (SQLServerCallableStatement)
SQLServerCallableStatement Methods
SQLServerCallableStatement Members