存储函数管理概述Stored functions management overview
本部分介绍用于创建和更改以下用户定义函数的控制命令:This section describes control commands used for creating and altering the following user-defined functions:
函数Function | 说明Description |
---|---|
.alter function.alter function | 更改现有函数并将其存储在数据库元数据中Alters an existing function and stores it inside the database metadata |
.alter function docstring.alter function docstring | 更改现有函数的 DocString 值Alters the DocString value of an existing function |
.alter function folder.alter function folder | 更改现有函数的 Folder 值Alters the Folder value of an existing function |
.create function.create function | 创建存储函数Creates a stored function |
.create-or-alter function.create-or-alter function | 创建存储函数或更改现有函数,并将其存储在数据库元数据中Creates a stored function or alters an existing function and stores it inside the database metadata |
.drop function 和 .drop functions.drop function and .drop functions | 从数据库中删除一个(或多个)函数Drops a function (or functions) from the database |
.show functions 和 .show function.show functions and .show function | 列出当前所选数据库中的所有存储函数或特定函数Lists all the stored functions, or a specific function, in the currently-selected database |