execute Method (java.lang.String)
Runs the given SQL statement, which can return multiple results.
Syntax
public final boolean execute(java.lang.String sql)
Parameters
sql
A String that contains an SQL statement.
Return Value
true if the statement returns a result set. false if it returns an update count or no result.
Exceptions
Remarks
This execute method is specified by the execute method in the java.sql.Statement interface.
This method overrides the execute method that is found in the SQLServerStatement class.
Calling this method will result in an exception since the SQL statement for the SQLServerPreparedStatement object is specified when the object is created.
See Also
execute Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for