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:

    A true politeness does not result from any hasty and artificial polishing, it is true, but grows naturally in characters of the right grain and quality, through a long fronting of men and events, and rubbing on good and bad fortune.
    Henry David Thoreau (1817–1862)

    ... many of the things which we deplore, the prevalence of tuberculosis, the mounting record of crime in certain sections of the country, are not due just to lack of education and to physical differences, but are due in great part to the basic fact of segregation which we have set up in this country and which warps and twists the lives not only of our Negro population, but sometimes of foreign born or even of religious groups.
    Eleanor Roosevelt (1884–1962)