alter_function 中文man页面

系统
ALTER FUNCTION 修改一个函数的定义,目前唯一的功能是修改它的名字。

NAME

ALTER FUNCTION - 修改一个函数的定义

SYNOPSIS

ALTER FUNCTION name ( [ type [, ...] ] ) RENAME TO newname

DESCRIPTION 描述

ALTER FUNCTION 修改一个函数的定义,目前***的功能是修改它的名字。  

PARAMETERS 参数

name

 一个现有的函数的名字(可以有模式修饰)。
type

 该函数参数的数据类型。
newname

 函数的新名字。

EXAMPLES 例子


 把名字为 sqrt,参数类型为 integer 的函数重命名为 square_root:

ALTER FUNCTION sqrt(integer) RENAME TO square_root;

COMPATIBILITY 兼容性


 在 SQL 标准里有一个 ALTER FUNCTION 语句,但是它并没有提供重命名函数的选项。  

SEE ALSO 参见

CREATE FUNCTION [create_function(7)], DROP FUNCTION [drop_function(l)]

#p#

NAME

ALTER FUNCTION - change the definition of a function

SYNOPSIS

ALTER FUNCTION name ( [ type [, ...] ] ) RENAME TO newname

DESCRIPTION

ALTER FUNCTION changes the definition of a function. The only functionality is to rename the function.  

PARAMETERS

name
The name (optionally schema-qualified) of an existing function.
type
The data type of an argument of the function.
newname
The new name of the function.

EXAMPLES

To rename the function sqrt for type integer to square_root:

ALTER FUNCTION sqrt(integer) RENAME TO square_root;

COMPATIBILITY

There is an ALTER FUNCTION statement in the SQL standard, but it does not provide the option to rename the function.  

SEE ALSO

CREATE FUNCTION [create_function(7)], DROP FUNCTION [drop_function(l)]

责任编辑:韩亚珊 来源: CMPP.net
相关推荐

2011-08-24 09:02:10

ALTER AGGRE中文man

2011-08-24 09:48:46

alter_trigg中文man

2011-08-24 09:22:30

alter_domai中文man

2011-08-24 09:45:14

alter_table中文man

2011-08-24 09:29:18

alter_group中文man

2011-08-24 09:32:13

alter_langu中文man

2011-08-24 09:39:10

alter_schem中文man

2011-08-24 09:18:45

alter_datab中文man

2011-08-24 09:42:15

alter_seque中文man

2011-08-24 09:51:53

alter_user中文man

2011-08-24 09:14:47

alter_conve中文man

2011-08-24 11:05:36

CREATE FUNC中文man

2011-08-24 14:22:11

DROP FUNCTI中文man

2011-08-24 09:36:00

alter_opera中文man

2011-08-15 10:21:09

man中文man

2011-08-24 16:48:36

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-12 14:58:05

killall中文man

2011-07-15 16:58:36

ac中文man
点赞
收藏

51CTO技术栈公众号