Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Runs the given SQL statement and returns a single SQLServerResultSet object.
public final java.sql.ResultSet executeQuery(java.lang.String sql)
sql
A String that contains a SQL statement.
A SQLServerResultSet object.
This executeQuery method is specified by the executeQuery method in the java.sql.Statement interface.
This method overrides the executeQuery method that is found in the SQLServerStatement class.
Calling this method will result in an exception since the SQL statement for the SQLServerPreparedStatement object is specified when the object is created.
SQLServerException is thrown if the given SQL statement produces anything other than a single SQLServerResultSet object.
executeQuery Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members
SQLServerPreparedStatement Class