execute Method ()

Runs the SQL statement in this SQLServerPreparedStatement object, which can be any kind of SQL statement.

public boolean execute()

返回值

true if the statement returns a result set. false if it returns an update count or no result.

异常

SQLServerException

备注

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

另请参见

参考

SQLServerPreparedStatement Class

概念

execute Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members