TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

executeBatch Method (SQLServerStatement)

 

DownloadDownload JDBC Driver

Submits a batch of commands to the database to be run. If all commands run successfully, returns an array of update counts.

  
public int[] executeBatch()  

An array of ints that contain the update counts.

SQLServerException

java.sql.BatchUpdateException

This executeBatch method is specified by the executeBatch method in the java.sql.Statement interface.

After submitting commands to the database, this method clears any command in the batch.

SQLServerStatement Members
SQLServerStatement Class

Community Additions

ADD
Show:
© 2016 Microsoft