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:

    The power of a movement lies in the fact that it can indeed change the habits of people. This change is not the result of force but of dedication, of moral persuasion.
    Stephen Biko (1946–1977)

    I have heard, in such a way as to believe it, of your recently saying that both the Army and the Government needed a Dictator. Of course it was not for this, but in spite of it, that I have given you the command. Only those generals who gain success, can set up dictators.
    Abraham Lincoln (1809–1865)