Runs the given SQL statement and returns a single SQLServerResultSet object.

public java.sql.ResultSet executeQuery(java.lang.String sql)

Parameters

sql

A string that contains an SQL statement.

Return Value

A SQLServerResultSet object.

Exceptions

SQLServerException

Remarks

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

See Also