共用方式為


addBatch Method (SQLServerStatement)

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 an SQL statement.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerStatement Class

概念

SQLServerStatement Methods
SQLServerStatement Members