executeBatch Method (SQLServerStatement)
Submits a batch of commands to the database to be run. If all commands run successfully, returns an array of update counts.
Syntax
public int[] executeBatch()
Return Value
An array of ints that contain the update counts.
Exceptions
java.sql.BatchUpdateException
Remarks
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.
See Also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho