Redigera

Dela via


addBatch Method (SQLServerStatement)

Download JDBC driver

Adds the given SQL command to the current list of commands for this SQLServerStatement object.

Syntax

  
public void addBatch(java.lang.String sql)  

Parameters

sql

A String that contains an SQL statement.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerStatement Members
SQLServerStatement Class