Using "FLWOR" expressions in SQL/XML
使用SQL/XML中的 "FLWOR"表达式
FLWOR (" flower ") is often mentioned in the context of XQuery.
FLWOR (“flower”)经常会在XQuery上下文中提到。
You have now seen how to use all the parts of a FLWOR expression except for the let clause.
您已经看到了如何使用FLWOR表达式的所有部分,除了一个部分:let子句。
The same query can be formulated using FLWOR expressions commonly associated with XQuery statements.
可以使用FLWOR 表达式构造同样的查询,这种表达式常常与XQuery 语句相关联。
In many cases, it is possible to write a query by using either a FLWOR expression or a path expression.
在很多情况下,可以任意使用FLWOR表达式或路径表达式编写查询。
FLWOR expressions include at least some of those elements in roughly the order that the acronym suggests.
FLOWR表达式至少包含其中的部分元素,大体上按照缩写词所预示的顺序。
This article focuses on two important kinds of XQuery expressions: FLWOR expressions and path expressions.
本文主要讨论两种重要的XQuery表达式:“FLWOR”表达式和路径表达式。
The "let" statement is itself composed of a FLWOR (for, let, where, order by, and return) XQuery expression.
“let”语句本身由一个FLWOR(for、let、where、orderby和return)XQuery表达式组成。
Commonly abbreviated to "FLWOR" these expressions may be used for performing joins across multiple XML streams in a similar manner to SQL.
通常缩写为“FLWOR ”的这些表达式可以被用于以类似SQL的方式执行跨多个XML流的连接。
This clause is used to assign a value (possibly containing a list of several items) to a variable that can be used in other clauses of the FLWOR expression.
该子句用于将一个值(可能包含一个由多项组成的列表)赋给一个变量,这个变量可以在FL WOR表达式的其他子句中使用。
A FLWOR expression is much like a SELECT-FROM-WHERE expression in SQL: it is used to iterate through a list of items and to optionally return something that is computed from each item.
FLWOR表达式非常像SQL中的SELECT - FROM - WHERE表达式——它用于对由多项组成的一个列表进行迭代,并且可以选择返回通过在每一项上进行计算得到的值。
If you are an XPath guru, you will probably find it easier to use a more XPath-oriented approach, whereas those with more SQL experience will probably find the FLWOR syntax more appealing.
如果是XPath高手,那么可能会发现,使用更加面向XPath的方式会更容易一些,而有更多SQL经验的人则会发现FLWOR的语法更有吸引力。
If you are an XPath guru, you will probably find it easier to use a more XPath-oriented approach, whereas those with more SQL experience will probably find the FLWOR syntax more appealing.
如果是XPath高手,那么可能会发现,使用更加面向XPath的方式会更容易一些,而有更多SQL经验的人则会发现FLWOR的语法更有吸引力。
应用推荐