--- title: "execute Method (SQLServerPreparedStatement) | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.technology: connectivity ms.topic: conceptual apiname: - "SQLServerPreparedStatement.execute" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: db876c2e-dffe-4ef2-8fea-486cf27b0eb3 author: David-Engel ms.author: v-daenge --- # execute Method (SQLServerPreparedStatement) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Runs the SQL statement in this [SQLServerPreparedStatement](../../../connect/jdbc/reference/sqlserverpreparedstatement-class.md) object, which can be any kind of SQL statement. ## Overload List |Name|Description| |----------|-----------------| |[execute ()](../../../connect/jdbc/reference/execute-method.md)|Runs the SQL statement in this [SQLServerPreparedStatement](../../../connect/jdbc/reference/sqlserverpreparedstatement-class.md) object, which can be any kind of SQL statement.| |[execute (java.lang.String)](../../../connect/jdbc/reference/execute-method-java-lang-string.md)|Runs the given SQL statement, which can return multiple results.| ## See Also [SQLServerPreparedStatement Members](../../../connect/jdbc/reference/sqlserverpreparedstatement-members.md) [SQLServerPreparedStatement Class](../../../connect/jdbc/reference/sqlserverpreparedstatement-class.md)