Retrieves the value of the designated NCHAR,
NVARCHAR
or LONGNVARCHAR parameter as
a String in the Java programming language.
For the fixed-length type JDBC NCHAR,
the String object
returned has exactly the same value the SQL
NCHAR value had in the
database, including any padding added by the database.
parameterName | the name of the parameter |
String object that maps an
NCHAR, NVARCHAR or LONGNVARCHAR value
SQLException | if parameterName does not correspond to a named
parameter;
if a database access error occurs or
this method is called on a closed CallableStatement | |
SQLFeatureNotSupportedException | if the JDBC driver does not support this method |
setNString
Diagram: Statement