当前位置:网站首页>PostgreSQL array type, each splice
PostgreSQL array type, each splice
2022-07-07 13:38:00 【Xiaodou whole sugar (Cx)】
If there is such case
Field test_array_concat yes array type , The data are as follows
{
2022,2023}
Now I want to change it to
{
2022.xml,2023.xml}
It can be as follows
update test set test_array_concat=(select array(select unnest(test_array_concat)||'1.xml' from test where id=294662523385290759)) where voucher_id=294662523385290759;
among
unnest Will array Expand into rows , After splicing, it is converted into array that will do
边栏推荐
- 记一次 .NET 某新能源系统 线程疯涨 分析
- Getting started with MySQL
- Distributed transaction solution
- Deep understanding of array related problems in C language
- 我那“不好惹”的00后下属:不差钱,怼领导,抵制加班
- LeetCode_二分搜索_中等_153.寻找旋转排序数组中的最小值
- Oracle advanced (V) schema solution
- Indoor ROS robot navigation commissioning record (experience in selecting expansion radius)
- MySQL error 28 and solution
- 信号强度(RSSI)知识整理
猜你喜欢
MongoDB内部的存储原理
我那“不好惹”的00后下属:不差钱,怼领导,抵制加班
Vscade editor esp32 header file wavy line does not jump completely solved
Realize the IP address home display function and number home query
室内ROS机器人导航调试记录(膨胀半径的选取经验)
Deep understanding of array related problems in C language
Distributed transaction solution
Custom thread pool rejection policy
Scrapy教程经典实战【新概念英语】
Leecode3. Longest substring without repeated characters
随机推荐
Navicat运行sql文件导入数据不全或导入失败
[Presto profile series] timeline use
Ways to improve the performance of raspberry pie
MongoDB 分片总结
得物客服热线的演进之路
JNA learning notes 1: Concepts
LeetCode_二分搜索_中等_153.寻找旋转排序数组中的最小值
Introduce six open source protocols in detail (instructions for programmers)
Show the mathematical formula in El table
Learning breakout 2 - about effective learning methods
云计算安全扩展要求关注的安全目标和实现方式区分原则有哪些?
MySQL error 28 and solution
Enregistrement de la navigation et de la mise en service du robot ROS intérieur (expérience de sélection du rayon de dilatation)
工具箱之 IKVM.NET 项目新进展
Realbasicvsr test pictures and videos
Leecode3. Longest substring without repeated characters
118. 杨辉三角
Build a secure and trusted computing platform based on Kunpeng's native security
RealBasicVSR测试图片、视频
记一次 .NET 某新能源系统 线程疯涨 分析