--- title: "clearParameters 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.clearParameters" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: cb1d0f36-d2de-4685-b97a-626608e50e5c author: David-Engel ms.author: v-daenge --- # clearParameters Method (SQLServerPreparedStatement) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Clears the current parameter values immediately. ## Syntax ``` public final void clearParameters() ``` ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This clearParameters method is specified by the clearParameters method in the java.sql.PreparedStatement interface. ## See Also [SQLServerPreparedStatement Members](../../../connect/jdbc/reference/sqlserverpreparedstatement-members.md) [SQLServerPreparedStatement Class](../../../connect/jdbc/reference/sqlserverpreparedstatement-class.md)