SQLServerPreparedStatement Members
The following tables list the members that are exposed by the SQLServerPreparedStatement class.
Constructors
None.
Fields
None.
Inherited Fields
Class inherited from: | Methods |
---|---|
java.sql.Statement |
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
Methods
Name | Description |
---|---|
Adds a set of parameters to the batch of commands for this Statement object. |
|
(Inherited from SQLServerStatement.) Cancels the SQL statement that is currently being run by this Statement object. |
|
Empties the current list of SQL commands for this SQLServerStatement object. |
|
Clears the current parameter values immediately. |
|
(Inherited from SQLServerStatement.) Clears all the warnings that are reported on this Statement object. |
|
Releases the database and JDBC resources of this Statement object immediately instead of waiting for them to be automatically released. |
|
Runs the SQL statement in this Statement object, which can be any kind of SQL statement. |
|
Submits a batch of commands to the database to be run. If all commands run successfully, returns an array of update counts. |
|
Runs the SQL query in this Statement object and returns the SQLServerResultSet object that is generated by the query. |
|
Runs the SQL statement in this Statement object, which must be an SQL INSERT, UPDATE, or DELETE statement; or an SQL statement that returns nothing, such as a DDL statement. |
|
(Inherited from SQLServerStatement.) Retrieves the SQLServerConnection object that produced this Statement object. |
|
(Inherited from SQLServerStatement.) Retrieves the direction for fetching rows from database tables that is the default for result sets generated from this Statement object. |
|
(Inherited from SQLServerStatement.) Retrieves the number of result set rows that is the default fetch size for result set objects generated from this Statement object. |
|
(Inherited from SQLServerStatement.) Retrieves any auto-generated keys that are created as a result of running this Statement object. |
|
(Inherited from SQLServerStatement.) Retrieves the maximum number of bytes that can be returned for character and binary column values in a SQLServerResultSet object produced by this Statement object. |
|
(Inherited from SQLServerStatement.) Retrieves the maximum number of rows that a SQLServerResultSet object produced by this Statement object can contain. |
|
Retrieves a SQLServerResultSetMetaData Class object that contains information about the columns of the SQLServerResultSet object that will be returned when this Statement object is executed. |
|
(Inherited from SQLServerStatement.) Moves to the next result of this Statement object. |
|
Retrieves the number, types, and properties of the parameters for this Statement object. |
|
(Inherited from SQLServerStatement.) Retrieves the response buffering mode for this SQLServerStatement object. |
|
(Inherited from SQLServerStatement.) Retrieves the number of seconds the Microsoft SQL Server JDBC Driver will wait for this Statement object to run. |
|
(Inherited from SQLServerStatement.) Retrieves the current result as a SQLServerResultSet object. |
|
(Inherited from SQLServerStatement.) Retrieves the result set concurrency for SQLServerResultSet objects that are generated by this Statement object. |
|
(Inherited from SQLServerStatement.) Retrieves the result set holdability for SQLServerResultSet objects that are generated by this Statement object. |
|
(Inherited from SQLServerStatement.) Retrieves the result set type for SQLServerResultSet objects that are generated by this Statement object. |
|
(Inherited from SQLServerStatement,) Retrieves the current result as an update count. |
|
(Inherited from SQLServerStatement.) Retrieves the first warning that is reported by calls on this Statement object. |
|
(Inherited from SQLServerStatement.) Indicates whether this Statement object has been closed. |
|
Indicates whether this statement object is a wrapper for the specified interface. |
|
Sets the designated parameter number to the given Array object. |
|
Sets the designated parameter number to the given InputStream object. |
|
Sets the designated parameter number to the given BigDecimal object. |
|
Sets the designated parameter to the specified input stream. |
|
Sets the designated parameter to the specified Blob object. |
|
Sets the designated parameter to the specified boolean value. |
|
Sets the designated parameter to the specified byte value. |
|
Sets the designated parameter to the specified array of bytes. |
|
Sets the designated parameter to the specified Reader object. |
|
Sets the designated parameter to the given Clob object. |
|
(Inherited from SQLServerStatement.) Sets the SQL cursor name to the specified String, which will be used by subsequent execute methods. |
|
Sets the designated parameter to the specified date value. |
|
Sets the designated parameter to the specified double value. |
|
(Inherited from SQLServerStatement.) Sets the escape processing mode. |
|
(Inherited from SQLServerStatement.) Gives the JDBC driver a hint as to the direction in which result set rows should be processed. |
|
(Inherited from SQLServerStatement.) 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 designated parameter to the specified float value. |
|
Sets the designated parameter to the specified int value. |
|
Sets the designated parameter to the specified long value. |
|
(Inherited from SQLServerStatement.) Sets the limit for the maximum number of bytes in a SQLServerResultSet column storing character or binary values to the given number of bytes. |
|
(Inherited from SQLServerStatement.) Sets the limit for the maximum number of rows that any SQLServerResultSet object can contain to the given number. |
|
Sets the designated parameter to the specified Reader object. |
|
Sets the designated parameter to the specified object. |
|
Sets the designated parameter to a null value, given the type of parameter to set. |
|
Sets the designated parameter to the specified String object. |
|
Sets the value of the designated parameter using the given object. |
|
(Inherited from SQLServerStatement.) Sets the number of seconds the driver will wait for a Statement object to run to the specified number of seconds. |
|
Sets the designated parameter to the specified Ref object. |
|
(Inherited from SQLServerStatement.) Sets the response buffering mode for this SQLServerStatement object to case-insensitive String full or adaptive. |
|
Sets the designated parameter to the specified short value. |
|
Sets the designated parameter to the specified String value. |
|
Sets the designated parameter to the specified SQLXML object. |
|
Sets the designated parameter to the specified time value. |
|
Sets the designated parameter to the specified timestamp value. |
|
Sets the designated parameter number to the specified input stream, which will have the specified number of bytes. |
|
Sets the designated parameter to the specified URL value. |
|
Returns an object that implements the specified interface to allow access to the Microsoft SQL Server JDBC Driver specific methods. |
Inherited Methods
Class inherited from: | Methods |
---|---|
com.microsoft.sqlserver.jdbc.SQLServerStatement |
cancel, clearWarnings, execute, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait |
java.sql.Statement |
cancel, clearWarnings, execute, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
java.sql.Wrapper |
isWrapperFor, unwrap |