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