다음을 통해 공유


executeBatch Method (SQLServerPreparedStatement)

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 contains the update counts.

예외

SQLServerException

java.sql.BatchUpdateException

주의

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

This method overrides the executeBatch method that is found in the SQLServerStatement class.

참고 항목

참조

SQLServerPreparedStatement Class

개념

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members