Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.33 KB

File metadata and controls

40 lines (30 loc) · 1.33 KB
title execute Method ()
description execute Method ()
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerPreparedStatement.execute ()
apitype Assembly

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