Sets the SQL cursor name to the given String, which will be used by subsequent execute methods.

注意: This method is not currently supported by the Microsoft SQL Server 2005 JDBC Driver. Calling this method has no effect.

语法

public final void setCursorName(java.lang.String name)

参数

name

A String that contains the cursor name.

异常

SQLServerException

备注

This setCursorName method is specified by the setCursorName method in the java.sql.Statement interface.

另请参见

SQLServerStatement Class
SQLServerStatement Methods
SQLServerStatement Members