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.
parameterIndex | index of the first parameter is 1, the second is 2, ... |
String
object that maps an
NCHAR
, NVARCHAR
or LONGNVARCHAR
value
SQLException | if the parameterIndex is not valid;
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