Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.2 KB

File metadata and controls

42 lines (31 loc) · 1.2 KB
title addBatch Method (SQLServerStatement)
description addBatch Method (SQLServerStatement)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerStatement.addBatch
apitype Assembly

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 a 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