Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.47 KB

File metadata and controls

45 lines (35 loc) · 1.47 KB
title execute Method () | 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 fa96d0f8-101b-422f-a767-405be9a5f74f
author David-Engel
ms.author v-daenge

execute Method ()

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public boolean execute()  

Return Value

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

Exceptions

SQLServerException

Remarks

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

See Also

execute Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class