executeQuery Method ()

Download JDBC driver

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