Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.42 KB

File metadata and controls

54 lines (43 loc) · 1.42 KB
title addBatch Method (SQLServerStatement) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service drivers
ms.service
ms.component jdbc
ms.reviewer
ms.suite sql
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerStatement.addBatch
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 95924a8b-a43c-4133-aff6-1d712e60e234
caps.latest.revision 8
author MightyPen
ms.author genemi
manager jhubbard
ms.workload Inactive

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