SQLServerStatement Methods
The following tables list the methods that are exposed by the SQLServerStatement class.
Methods
Name | Description |
---|---|
Adds the given SQL command to the current list of commands for this SQLServerStatement object. |
|
Cancels the SQL statement that is currently being run by this SQLServerStatement object. |
|
Empties the current list of SQL commands for this SQLServerStatement object. |
|
Clears all the warnings that are reported on this SQLServerStatement object. |
|
Releases this SQLServerStatement object's database and JDBC resources immediately instead of waiting for them to be automatically released. |
|
Runs the given SQL statement, which can return multiple results. |
|
Submits a batch of commands to the database to be run. If all commands run successfully, returns an array of update counts. |
|
Runs the given SQL statement and returns a single SQLServerResultSet object. |
|
Runs the given SQL statement, which can be an INSERT, UPDATE, or DELETE statement; or an SQL statement that returns nothing, such as an SQL DDL statement. |
|
Retrieves the SQLServerConnection object that produced this SQLServerStatement object. |
|
Retrieves the direction for fetching rows from database tables that is the default for result sets generated from this SQLServerStatement object. |
|
Retrieves the number of result set rows that is the default fetch size for result set objects generated from this SQLServerStatement object. |
|
Retrieves any auto-generated keys that are created as a result of running this SQLServerStatement object. |
|
Retrieves the maximum number of bytes that can be returned for character and binary column values in a SQLServerResultSet object produced by this SQLServerStatement object. |
|
Retrieves the maximum number of rows that a SQLServerResultSet object produced by this SQLServerStatement object can contain. |
|
Moves to the next result of this SQLServerStatement object. |
|
Retrieves the number of seconds the Microsoft SQL Server 2005 JDBC Driver will wait for this SQLServerStatement object to run. |
|
Retrieves the response buffering mode for this SQLServerStatement object. |
|
Retrieves the current result as a SQLServerResultSet object. |
|
Retrieves the result set concurrency for SQLServerResultSet objects that are generated by this SQLServerStatement object. |
|
Retrieves the result set holdability for SQLServerResultSet objects that are generated by this SQLServerStatement object. |
|
Retrieves the result set type for SQLServerResultSet objects that are generated by this SQLServerStatement object. |
|
Retrieves the current result as an update count. |
|
Retrieves the first warning that is reported by calls on this SQLServerStatement object. |
|
Sets the SQL cursor name to the given String, which will be used by subsequent execute methods. |
|
Sets the escape processing mode. |
|
Gives the JDBC driver a hint as to the direction in which result set rows should be processed. |
|
Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed. |
|
Sets the limit for the maximum number of bytes in a SQLServerResultSet column storing character or binary values to the given number of bytes. |
|
Sets the limit for the maximum number of rows that any SQLServerResultSet object can contain to the given number. |
|
Sets the number of seconds the driver will wait for a SQLServerStatement object to run to the given number of seconds. |
|
Sets the response buffering mode for this SQLServerStatement object to case-insensitive String full or adaptive. |
Inherited Methods
Class inherited from: | Methods |
---|---|
java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait |