共用方式為


executeQuery Method (SQLServerPreparedStatement)

Runs the SQL query in this SQLServerPreparedStatement object and returns the SQLServerResultSet object generated by the query.

Overload List

Name Description

executeQuery ()

Runs the SQL query in this SQLServerPreparedStatement object and returns the SQLServerResultSet object that is generated by the query.

executeQuery (java.lang.String)

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

另請參閱

參考

SQLServerPreparedStatement Class

概念

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members