statement

Generates a result set. Enclose the SQL statement in double quotes. The SQL statement is either a SELECT or CALL statement.

Notes

  • A SELECT statement queries the database and returns data that meets the criteria specified by the query expression in the SELECT statement.
  • A CALL statement invokes another stored procedure that returns a result set specified by the RESULT clause of the CREATE PROCEDURE statement.