通过关联(correlation),SQL表函数允许以一种更高效的方式实现迭代,而不是使用游标。
Through correlation, SQL table functions allow a more efficient way of implementing iterations, otherwise done with cursors.
状态通过 initial-state 预设,并在整个迭代过程中传递,允许访问者函数按照所需的任何方式操作状态。
The state is primed with initial-state and passed throughout the iteration, allowing the visitor functions to manipulate it in whatever way they desire.
这是一个迭代函数,这意味着如果您再次调用它,会得到结果集中的下一个结果(依此类推,直到结果集中没有结果,如果没有结果,则返回false)。
This is an iterative function, meaning that if you call it again, you'll get the next result in the set (and so on, until there are no results in the result set, in which case, it will return false).
应用推荐