Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.49 KB

executeupdate-method.md

File metadata and controls

40 lines (30 loc) · 1.49 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
executeUpdate Method ()
executeUpdate Method ()
David-Engel
v-davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerPreparedStatement.executeUpdate ()
Assembly

executeUpdate Method ()

[!INCLUDEDriver_JDBC_Download]

Runs the SQL statement in this SQLServerPreparedStatement object, which must be an SQL INSERT, UPDATE, MERGE, or DELETE statement; or an SQL statement that returns nothing, such as a DDL statement.

Syntax

  
public int executeUpdate()  

Return Value

An int that indicates the number of rows affected, or 0 if using a DDL statement.

Exceptions

SQLServerException

Remarks

This executeUpdate method is specified by the executeUpdate method in the java.sql.PreparedStatement interface.

See Also

executeUpdate Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class