| 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 |
[!INCLUDEDriver_JDBC_Download]
Adds the given SQL command to the current list of commands for this SQLServerStatement object.
public void addBatch(java.lang.String sql)
sql
A String that contains a SQL statement.
This addBatch method is specified by the addBatch method in the java.sql.Statement interface.