executeQuery Method (SQLServerStatement)

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

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

Parametri

sql

A String that contains an SQL statement.

Valore restituito

A SQLServerResultSet object.

Eccezioni

SQLServerException

Osservazioni

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

Vedere anche

Riferimento

SQLServerStatement Class

Concetti

SQLServerStatement Methods
SQLServerStatement Members