$sql.preparedStatement.executeQuery

Executes the SQL query in this PreparedStatement object and returns the ResultSet object generated by the query.
Syntax
    $sql.preparedStatement.executeQuery
DocumentationExecutes the SQL query in this PreparedStatement object and returns the ResultSet object generated by the query.
    Paramter:
    Returns:
      a ResultSet object that contains the data produced by the query; never null
    Throws:
      SQLException - if a database access error occurs or the SQL statement does not return a ResultSet object
Examples
GroupSQL
Minimum required transaction-mode:READ=SQL
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1