Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.28 KB

File metadata and controls

46 lines (35 loc) · 1.28 KB
title addBatch Method (SQLServerStatement) | 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
SQLServerStatement.addBatch
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 95924a8b-a43c-4133-aff6-1d712e60e234
author David-Engel
ms.author v-daenge

addBatch Method (SQLServerStatement)

[!INCLUDEDriver_JDBC_Download]

Adds the given SQL command to the current list of commands for this SQLServerStatement object.

Syntax

  
public void addBatch(java.lang.String sql)  

Parameters

sql

A String that contains an SQL statement.

Exceptions

SQLServerException

Remarks

This addBatch method is specified by the addBatch method in the java.sql.Statement interface.

See Also

SQLServerStatement Members
SQLServerStatement Class