现在我们将观察一个关于如何创建新的标量DB 2函数的例子。
We will now go through an example of how to create a new scalar DB2 function.
空间中的向量场的旋度,是一个向量场,而不是一个标量函数,我必须告诉你们。
The curl of a vector field in space is actually a vector field, not a scalar function. I have delayed the inevitable.
因为这都是些标量函数,所以将为结果集的每一行创建XML数据类型的结果。
Since these are scalars functions, for each line of the result set, a result of the XML data type is created.
在触发器、动态合成语句、标量、表、行函数和方法中不能调用具有访问级别MODIFIESSQLDATA的联邦过程。
Federated procedures with access level MODIFIES SQL DATA cannot be invoked inside triggers, dynamic compound statements, scalar, table, row functions, and methods.
这个函数需要两个标量;检查它们以确保至少它们的大小和形式是合乎要求的。
The function expects two scalars; they are checked to make sure they are at least the size and shape of what's expected.
清单2中提供的示例说明用于将列表缩减为标量的其他SCSH函数 —在这种情况下,用 (1 + (2 + (3 + (4 + (5))))) 的格式汇总值的列表。
The example provided in Listing 2 illustrates another SCSH function for reducing a list to a scalar—in this case, summing the list of values in the form (1 + (2 + (3 + (4 + (5))))).
如果汇编器不能对程序进行向量化,它会自动试着调用等价MASS标量函数。
If the program is such that the compiler cannot vectorize, it automatically tries to call the equivalent MASS scalar functions.
本教程还展示如何使用标量函数从date列计算和提取信息,例如星期几和月份。
This tutorial also shows how to use scalar functions to calculate and extract date information, such as day of week and month name, from date columns.
到目前为止,该系列文章一直关注单个标量函数(数值、字符串和布尔值)的使用。
So far in this series of articles, we've been restricted to the use of single scalar values (Numbers, strings, and booleans).
这包括函数,标量。
除了一系列的选项之外,当 -qipa选项处于可用状态时,如果汇编器不能进行向量化,那么它会试着在决定调用它们之前去内联MASS标量函数。
In addition to any of the preceding sets of options, when the -qipa option is in effect, if the compiler cannot vectorize, it tries to inline the MASS scalar functions before deciding to call them.
标量函数的调用方法如下。
清单22中的过程演示了solidDB标量函数TIMESTAMPDIFF,用于一条复制语句。
The procedure in Listing 22 demonstrates the solidDB scalar function TIMESTAMPDIFF, used in an assignment statement.
将XMLELEMENT和XMLATTRIBUTES这两种标量函数相结合,就可设置形成XML文档的基本元素。
Combining the XMLELEMENT and XMLATTRIBUTES scalar functions, it is possible to set the basic elements that form an XML document.
XMLELEMENT——创建X ml元素的标量函数。
用NetSearchExtender执行全文搜索最常用的方法是使用它的SQL标量搜索函数CONTAINS 。
The most common way of performing full-text search with Net search Extender is to use its SQL scalar search function CONTAINS .
总是有必要使用标量函数XML2CLOB (xml - data -type):clob - data - type来将xml内容串行化为clob数据类型。
It is always necessary to use the scalar function XML2CLOB (xml-data-type) : clob-data-type to serialize the XML contents in a clob data type.
对于自动化的标量或者向量,汇编器会使用汇编器库libxlopt . a中包含的mass函数的版本。
For automatic vectorization or scalarization, the compiler USES versions of the MASS functions contained in the compiler library libxlopt.a.
XMLATTRIBUTES——创建元素属性的标量函数(必须总是用于xmlelement函数中)。
XMLATTRIBUTES - scalar function to create element attributes (must always be used within an XMLELEMENT function).
清单6创建一个标量函数,它从输入文档中提取出一个特定的xml元素。然后,在一个简单的SQL查询中调用此函数,从而返回给定的客户的姓名。
Listing 6 creates a scalar function that extracts a given XML element from an input document and shows how this function can be invoked in a simple SQL query to return the name of a given customer.
可在可用于数据规则的所有测试及函数执行类型的概述部分,找到哪些测试及函数是标量的以及哪些是柱状的。
You will find an overview of which tests and functions are scalar and columnar in the overview of the execution types of all tests and functions available for data rules.
应用程序开发人员会很喜欢新的标量函数,尤其是日期和时间函数,它们会提高处理性能。
Your application developers will like the new scalar functions, especially the date and time functions that will provide performance boosts for processing.
当规则中所有测试及在其逻辑中使用的函数都是标量时,该规则就是标量的。
A rule is scalar when all the tests and functions used in its logic are scalar.
函数可以返回单一值(对于标量函数)或多个值(对于表函数)。
The functions can be coded to return a single value (for scalar functions) or multiple values (for table functions).
通过枚举的构造函数允许您将所有元素的值指定为逗号分隔的标量值,如以下两个清单中所示。
Constructors by enumeration allow you to specify the values of all the elements as comma-separated scalar values, as shown in the following two listings.
可非常高效地执行标量规则,并可在规则中增加附加标量测试或者函数,而不会显著影响规则的执行时间。
You can execute scalar rules fairly efficiently, and adding additional scalar tests or functions in a rule won't significantly impact the execution time of the rule.
DB 2支持许多种数据库服务器端编程语言,包括存储过程、触发器和函数(表函数和标量函数)。
DB2 supports many database server-side programming languages, including stored procedures, triggers, and functions (table and scalar).
现在我们可以创建一个附加的函数,该函数将组合之前提到的函数,并为任何给定的几何图形产生空间填充z曲线上的标量值。
Now we can create an additional function that will combine the before mentioned functions and produce the scalar value on the space filling z-curve for any given geometry.
本文给出多层媒质中水平和垂直电、磁偶极子的谱域标量位和矢量位格林函数的一般表达式,并验证了其正确性。
The spectral domain Green's functions of scalar and vector potentials for vertical and horizontal electric as well as magnetic dipoles in multi-layered medium are presented and verified.
在DB 2中有两种类型的UDF:标量函数(scalar function)和表函数(table function)。
There are two types of UDFs in DB2: scalar and table functions.
应用推荐