结果集(result set)解释与用法

解释:

引用自wiki:

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.

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.、

 

用法:

参看下文:

http://soft-development.iteye.com/blog/1420323

posted @ 2016-01-20 18:13  Splace  阅读(963)  评论(0编辑  收藏  举报