什么是高级?这就叫高级—openGauss(112)

16 阅读1分钟

#openGauss #入门 #安装 #数据库 #开源

知识来源:docs-opengauss.osinfra.cn/zh/

集合类型的使用

在使用集合之前,需要自定义一个集合类型。

在存储过程中紧跟AS关键字后面定义集合类型。定义方法如下。

其中:

  • table_type:要定义的集合类型名。

  • TABLE:表示要定义集合类型。

  • data_type:要创建的集合中成员的类型。

  • indexby_type: 创建集合索引的类型。

#openGauss #入门 #安装 #数据库 #开源

知识来源:docs-opengauss.osinfra.cn/zh/