ALTER AGGREGATE 中文man页面

系统
ALTER AGGREGATE 改变一个聚集函数的定义。目前唯一可用的功能是对聚集函数进行重命名。

NAME

ALTER AGGREGATE - 修改一个聚集函数的定义

SYNOPSIS

ALTER AGGREGATE name ( type ) RENAME TO newname

DESCRIPTION 描述

ALTER AGGREGATE 改变一个聚集函数的定义。目前唯一可用的功能是对聚集函数进行重命名。  

PARAMETERS 参数

name

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

 聚集函数的参数数据类型,如果函数接受任何数据类型,则是 *。
newname

 聚集函数的新名字。

EXAMPLES 例子


 给一个接受 integer 类型参数的叫 myavg 的聚集函数重命名为 my_average

ALTER AGGREGATE myavg(integer) RENAME TO my_average;

COMPATIBILITY 兼容性


 SQL 标准里面没有 ALTER AGGREGATE 语句。  

SEE ALSO 参见

CREATE AGGREGATE [create_aggregate(7)], DROP AGGREGATE [drop_aggregate(l)]

#p#

NAME

ALTER AGGREGATE - change the definition of an aggregate function

SYNOPSIS

ALTER AGGREGATE name ( type ) RENAME TO newname

DESCRIPTION

ALTER AGGREGATE changes the definition of an aggregate function. The only currently available functionality is to rename the aggregate function.  

PARAMETERS

name
The name (optionally schema-qualified) of an existing aggregate function.
type
The argument data type of the aggregate function, or * if the function accepts any data type.
newname
The new name of the aggregate function.

EXAMPLES

To rename the aggregate function myavg for type integer to my_average:

ALTER AGGREGATE myavg(integer) RENAME TO my_average;

COMPATIBILITY

There is no ALTER AGGREGATE statement in the SQL standard.  

SEE ALSO

CREATE AGGREGATE [create_aggregate(7)], DROP AGGREGATE [drop_aggregate(l)]

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

2011-08-24 10:46:36

CREATE AGGR中文man

2011-08-24 14:06:36

DROP AGGREG中文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 09:48:46

alter_trigg中文man

2011-08-24 09:26:14

alter_funct中文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:36:00

alter_opera中文man

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-11 15:03:21

ACCESS中文man

2011-08-16 10:59:16

pwconv中文man
点赞
收藏

51CTO技术栈公众号