存储函数Stored functions

函数是可重用的查询或查询部件。Functions are reusable queries or query parts. 可将函数存储为数据库实体(与表等类似),这些实体称为“存储函数”。Functions can be stored as database entities (similar to, for example, tables) called stored functions. 还可以使用 let 语句,通过名为 lambda 表达式的机制在查询内以临时方式创建函数。Functions can also be created in an ad-hoc fashion inside queries using a let statement through a mechanism called lambda expressions.

有关函数调用语法和规则的更多详细信息,请参阅用户定义的函数See user-defined functions for additional details on the function invocation syntax and rules. 有关如何创建和管理存储函数的详细信息,请参阅管理函数Details on how to create and manage store functions can be found under managing functions.