| title | setCursorName Method (SQLServerStatement) |
|---|---|
| description | setCursorName Method (SQLServerStatement) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
| apilocation | sqljdbc.jar |
| apiname | SQLServerStatement.setCursorName |
| apitype | Assembly |
[!INCLUDEDriver_JDBC_Download]
Sets the SQL cursor name to the given String, which will be used by subsequent execute methods.
Note
This method is not currently supported by the [!INCLUDEjdbcNoVersion]. Calling this method has no effect.
public final void setCursorName(java.lang.String name)
name
A String that contains the cursor name.
This setCursorName method is specified by the setCursorName method in the java.sql.Statement interface.