Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.56 KB

addbatch-method-java-lang-string.md

File metadata and controls

44 lines (32 loc) · 1.56 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
addBatch Method (java.lang.String)
addBatch Method (java.lang.String)
David-Engel
v-davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerPreparedStatement.addBatch (java.lang.String)
Assembly

addBatch Method (java.lang.String)

[!INCLUDEDriver_JDBC_Download]

Adds the given SQL command to the current list of commands for this SQLServerPreparedStatement 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.

Calling this method will result in an exception since the SQL statement for the SQLServerPreparedStatement object is specified when the object is created.

See Also

addBatch Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class