다음을 통해 공유


executeQuery Method (SQLServerStatement)

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.

예외

SQLServerException

주의

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

참고

참조

SQLServerStatement Class

개념

SQLServerStatement Methods
SQLServerStatement Members