Young87

SmartCat's Blog

So happy to code my life!

游戏开发交流QQ群号60398951

当前位置:首页 >跨站数据测试

postgresql 修改字段类型为数组类型(text 改为 text[] )

语法:
alter table tablename alter columnname type oldcolumntype USING columnname:: newcolumntype
eg:

alter table dirty_track alter labels type text USING labels::text[];

除特别声明,本站所有文章均为原创,如需转载请以超级链接形式注明出处:SmartCat's Blog

上一篇: git多分支操作

下一篇: 【华为云技术分享】六步教你玩转DevOps上华为云DevCloud实践

精华推荐