Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 1.91 KB

File metadata and controls

60 lines (44 loc) · 1.91 KB
title createStatement Method (int, int, int) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerConnection.createStatement (int, int, int)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 2e4fa385-8f61-4394-8f75-3e839930a57d
author David-Engel
ms.author v-daenge

createStatement Method (int, int, int)

[!INCLUDEDriver_JDBC_Download]

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