executeUpdate Method (SQLServerStatement)
Runs the given SQL statement, which can be an INSERT, UPDATE, or DELETE statement; or an SQL statement that returns nothing, such as an SQL DDL statement. Beginning in Microsoft SQL Server JDBC Driver 3.0, executeUpdate will return the correct number of rows updated in a MERGE operation.
Overload List
Name | Description |
---|---|
executeUpdate (java.lang.String) | Runs the given SQL statement, which can be an INSERT, UPDATE, DELETE, or MERGE statement; or an SQL statement that returns nothing, such as an SQL DDL statement. |
executeUpdate (java.lang.String, int) | Runs the given SQL statement and signals the Microsoft JDBC Driver for SQL Server with the given flag about whether the auto-generated keys produced by this SQLServerStatement object should be made available for retrieval. |
executeUpdate (java.lang.String, int[]) | Runs the given SQL statement and signals the JDBC driver that the auto-generated keys that are indicated in the given array should be made available for retrieval. |
executeUpdate (java.lang.String, java.lang.String[]) | Runs the given SQL statement and signals the JDBC driver that the auto-generated keys that are indicated in the given array should be made available for retrieval. |
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