Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.77 KB

File metadata and controls

55 lines (39 loc) · 1.77 KB
title createStatement Method (int, int, int)
description createStatement Method (int, int, int)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerConnection.createStatement (int, int, int)
apitype Assembly

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