Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 1.78 KB

File metadata and controls

55 lines (41 loc) · 1.78 KB
title createStatement Method (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)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 90dbf639-c3d8-4519-9300-5447c79aec17
author David-Engel
ms.author v-daenge

createStatement Method (int, int)

[!INCLUDEDriver_JDBC_Download]

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.

resultSetConcurrency

The int value representing the result set concurrency type.

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