title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic |
---|---|---|---|---|---|---|---|
getNString Method (java.lang.String) (SQLServerResultSet) |
getNString Method (java.lang.String) (SQLServerResultSet) |
David-Engel |
davidengel |
01/19/2017 |
sql |
connectivity |
reference |
[!INCLUDEDriver_JDBC_Download]
Retrieves the value of the designated column in the current row of the SQLServerResultSet object as a java.lang.String object.
public java.lang.String getNString(java.lang.String columnLabel)
columnLabel
A String that contains the column label.
A String object.
This getNString method is specified by the getNString method in the java.sql.SQLServerResultSet interface.
This method can be used to retrieve the value of an nvarchar, nchar, nvarchar(max), ntext, or xml column in the current row of this SQLServerResultSet object. If you try to use this method to retrieve values of other data types, an exception will be thrown.
getNString Method (SQLServerResultSet)
SQLServerResultSet Members