Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.16 KB

File metadata and controls

41 lines (30 loc) · 1.16 KB
title addBatch Method (SQLServerStatement)
description addBatch Method (SQLServerStatement)
author David-Engel
ms.author davidengel
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