Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.53 KB

File metadata and controls

45 lines (35 loc) · 1.53 KB
title executeQuery 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.executeQuery ()
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 1d90407f-16df-4ba2-b4a5-47d5751e1d7c
author David-Engel
ms.author v-daenge

executeQuery Method ()

[!INCLUDEDriver_JDBC_Download]

Runs the SQL query in this SQLServerPreparedStatement object and returns the SQLServerResultSet object that is generated by the query.

Syntax

  
public java.sql.ResultSet executeQuery()  

Return Value

A SQLServerResultSet object.

Exceptions

SQLServerException

Remarks

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

See Also

executeQuery Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class