[英]What is the equivalent of oracle VARRAY in postgresql
What is the equivalent of oracle varray in postgres. postgres 中 oracle varray 的等价物是什么? Code:
代码:
TYPE xxx is varray(2000) of gt_name%rowtype .
gt_name is a cursor name. gt_name 是一个 cursor 的名字。
The closest thing in PostgreSQL is an array. PostgreSQL 中最接近的是一个数组。 Figure out what data type
gt_name
is.弄清楚
gt_name
是什么数据类型。 if that is (for example), text
, then you'd use the type text[]
.如果那是(例如)
text
,那么您将使用类型text[]
。
See the documentation for details.有关详细信息,请参阅文档。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.