Result Set

An SQL result set is a set of rows from a database, as well as metadata about the query such as the column names, and the types and sizes of each column. Depending on the database system, the number of rows in the result set may or may not be known. Usually, this number is not known up front because the result set is built on-the-fly. Precomputations often impose undesired performance impacts.

A result set is effectively a table. The ORDER BY clause can be used in a query to impose a certain sort condition on the rows. Without that clause, there is no guarantee whatsoever on the order in which the rows are returned.

Famous quotes containing the words result and/or set:

    Whatever does not spring from a man’s free choice, or is only the result of instruction and guidance, does not enter into his very being, but still remains alien to his true nature; he does not perform it with truly human energies, but merely with mechanical exactness.
    Karl Wilhelm Von Humboldt (1767–1835)

    The splendor falls on castle walls
    And snowy summits old in story;
    The long light shakes across the lakes,
    And the wild cataract leaps in glory.
    Blow, bugle, blow, set the wild echoes flying,
    Blow, bugle; answer, echoes, dying, dying, dying.
    Alfred Tennyson (1809–1892)