As in the last example, we use the fn: distinct-values function to avoid duplicate purchases in the same category.
与前一个示例一样,使用fn:distinct - values函数避免重复出现同一类别中的购买。
To avoid the use of the fn: upper-case function and exploit the benefits of XML indexes, it is necessary to create a case-insensitive database.
要想避免使用fn:upper - case函数并利用xml索引加快查询,就需要创建不区分大小写的数据库。
To account for that, we use the XQuery function fn: distinct-values .
为了处理这个问题,我们使用XQuery函数fn: distinct -values 。
The problem is that the predicate with the fn: upper-case function prevents the use of XML indexes in DB2.
问题是如果使用包含fn:upper - case函数的谓词,就不会使用DB 2中的xml索引。
If the argument is an empty sequence, fn: string (seq) will return a zero-length string, but the other function returns an empty sequence.
如果参数是空序列,fn:string (seq)将返回长度为零的字符串,另一个函数则返回空白序列。
In Listing 22, the native solidDB function TIMESTAMPDIFF in is written using the format of {fn TIMESTAMPDIFF (...)}.
在清单22中,原生soliddb函数TIMESTAMPDIFF是使用{fn TIMESTAMPDIFF(…)}格式编写的。
To catch all four rows that you require, you can use the XQuery function fn: upper-case to convert the city element values to upper case and compare them to "PARIS."
要想获取所需的所有四行,可以使用XQuery函数fn:upper - case把city元素值转换为大写并与“PARIS”做比较。
The above XQuery code takes care to encode your query string using the fn: encode-for-uri function.
上面的XQuery代码使用fn:encode - for - uri函数编码查询字符串。
var id = setInterval(fn, delay); - Similar to setTimeout but continually calls the function (with a delay every time) until it is canceled.
varid =setInterval(fndelay);- 与setTimeout类似,只不过它会持续地调用指定的函数(每次都有一个延时),直到timer被取消为止。
FN splice variants play important roles in regulating cell-matrix and matrix-matrix interactions in skeletogenesis and skeletal function in limbs and other sites.
FN剪切变异体在调节细胞基质,基质与基质间的相互作用,骨骼发育和四肢骨骼功能及其他方面起到很重要的作用。
For this purpose, db2 provides another input function, db2-fn: sqlquery, to invoke an SQL query from within XQuery.
为此,db 2提供了另外一个输入函数db 2 - fn:sqlquery,以便在XQuery中调用sql查询。
In our previous examples, this was performed using the db2-fn: xmlcolumn function.
在前面的示例中,这是使用db 2 - fn:xmlcolumn函数执行的。
The full-text search expression is expressed in an SQL context, and the relevant XML documents are processed in the XQuery context using the db2-fn: sqlquery input function.
全文搜索表达式在sql上下文中表达,相关的XML文档在XQuery上下文中使用db 2 - fn:sqlquery输入函数进行处理。
For example, the input data for an XQuery comes from the db2-fn: xmlcolumn function in db2, while other databases may call it collection .
例如,db 2中的XQuery的数据输入来自db 2 -fn:xmlcolumn函数,而其他数据库可能称之为collection 。
The db2-fn: sqlquery function is also provided to access db2 data and takes a SELECT statement as an argument.
还提供db 2 - fn:sqlquery函数来访问db2数据,它以一个select语句作为参数。
The db2-fn: xmlcolumn is a function that retrieves a sequence from an XML column in the db2 database currently connected.
db 2 - fn:xmlcolumn函数从当前连接的db 2数据库中的xml列获取一个序列。
The first step of the path expression calls the db2-fn: xmlcolumn function to obtain a list of XML documents from the CONTACTINFO column of the CLIENTS table.
路径表达式的第一步调用db 2 - fn:xmlcolumn函数从clients表的contactinfo列获得一个xml文档的列表。
The db2-fn: sqlquery function can be used to not only reduce the input to an XQuery, but also to extend it.
db 2 - fn:sqlquery函数不仅可以用来减少到XQuery的输入,而且还能扩展它。
When the argument has more than one member, either function normally raises an error, but fn: string (seq) will not raise an error when Backwards Compatibility mode is in effect.
如果参数有多个成员,通常情况下两者都将引发错误,但是如果采用了向后兼容方式,则fn:string (seq)不会造成错误。
What you've done in fact is that you defined function fn.
一切安然…你刚才做的实际上是定义了一个函数fn。
What you've done in fact is that you defined function fn.
一切安然…你刚才做的实际上是定义了一个函数fn。
应用推荐