Redigera

Dela via


createStatement Method (int, int, int)

Download JDBC driver

Creates a SQLServerStatement object that generates SQLServerResultSet objects with the given type, concurrency, and holdability.

Syntax

  
public java.sql.Statement createStatement(int nType,  
                                          int nConcur,  
                                          int nHold)  

Parameters

resultSetType

The int value that represents the result set type.

nConcur

The int value that represents the result set concurrency type.

nHold

The int value that represents the holdability.

Return Value

The Statement object.

Exceptions

SQLServerException

Remarks

This createStatement method is specified by the createStatement method in the java.sql.Connection interface.

See Also

createStatement Method (SQLServerConnection)
SQLServerConnection Members
SQLServerConnection Class