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:

    But this I know; the writer who possesses the creative gift owns something of which he is not always master—something that at times strangely wills and works for itself.... If the result be attractive, the World will praise you, who little deserve praise; if it be repulsive, the same World will blame you, who almost as little deserve blame.
    Charlotte Brontë (1816–1855)

    Such a set of tittle tattle, prittle prattle visitants! Oh Dear! I am so sick of the ceremony and fuss of these fall lall people! So much dressing—chitchat—complimentary nonsense—In short, a country town is my detestation. All the conversation is scandal, all the attention, dress, and almost all the heart, folly, envy, and censoriousness.
    Frances Burney (1752–1840)