Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Creates a SQLServerStatement object that generates SQLServerResultSet objects with the given type and concurrency.
Syntax
public java.sql.Statement createStatement(int resultSetType,
int resultSetConcurrency)
Parameters
resultSetType
The int value representing the result set type. Use one of the following java.sql.ResultSet constants:
| Constant | Description |
|---|---|
ResultSet.TYPE_FORWARD_ONLY |
Cursor moves forward only. Best performance for sequential reads. |
ResultSet.TYPE_SCROLL_INSENSITIVE |
Scrollable result set that doesn't reflect changes made to the underlying data after the result set is created. |
ResultSet.TYPE_SCROLL_SENSITIVE |
Scrollable result set that reflects changes made to the underlying data. |
resultSetConcurrency
The int value representing the result set concurrency type. Use one of the following java.sql.ResultSet constants:
| Constant | Description |
|---|---|
ResultSet.CONCUR_READ_ONLY |
The result set can't be updated. |
ResultSet.CONCUR_UPDATABLE |
The result set can be updated by using positioned updates and deletes. |
Return value
The Statement object.
Exceptions
Remarks
This createStatement method is specified by the createStatement method in the java.sql.Connection interface.