Runs the given SQL statement and returns a single SQLServerResultSet object.
public java.sql.ResultSet executeQuery(java.lang.String sql)
參數
sql
A String that contains an SQL statement.
傳回值
A SQLServerResultSet object.
例外狀況
備註
This executeQuery method is specified by the executeQuery method in the java.sql.Statement interface.