executeUpdate 메서드()

JDBC 드라이버 다운로드

SQLServerPreparedStatement 개체에서 SQL INSERT, UPDATE, MERGE 또는 DELETE 문과 같은 SQL 문이나 아무것도 반환하지 않는 DDL 문과 같은 SQL 문을 실행합니다.

구문

  
public int executeUpdate()  

Return Value

영향을 받는 행 수를 나타내는 int이며, DDL 문을 사용하는 경우에는 0입니다.

예외

SQLServerException

설명

이 executeUpdate 메서드는 java.sql.PreparedStatement 인터페이스의 executeUpdate 메서드에 의해 지정됩니다.

참고 항목

executeUpdate 메서드(SQLServerPreparedStatement)
SQLServerPreparedStatement 멤버
SQLServerPreparedStatement 클래스