当前位置:网站首页>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
边栏推荐
- How to make join run faster?
- My "troublesome" subordinates after 00: not bad for money, against leaders, and resist overtime
- Split screen bug notes
- 单片机原理期末复习笔记
- 【堡垒机】云堡垒机和普通堡垒机的区别是什么?
- Introduce six open source protocols in detail (instructions for programmers)
- [dark horse morning post] Huawei refutes rumors about "military master" Chen Chunhua; Hengchi 5 has a pre-sale price of 179000 yuan; Jay Chou's new album MV has played more than 100 million in 3 hours
- 如何让join跑得更快?
- 2022-7-6 初学redis(一)在 Linux 下下载安装并运行 redis
- MongoDB复制(副本集)总结
猜你喜欢
Detr introduction
MySQL error 28 and solution
PAcP learning note 1: programming with pcap
Final review notes of single chip microcomputer principle
Getting started with cinnamon applet
MySQL error 28 and solution
干货|总结那些漏洞工具的联动使用
高端了8年,雅迪如今怎么样?
Scripy tutorial classic practice [New Concept English]
交付效率提升52倍,运营效率提升10倍,看《金融云原生技术实践案例汇编》(附下载)
随机推荐
118. 杨辉三角
Shell batch file name (excluding extension) lowercase to uppercase
Write it down once Net a new energy system thread surge analysis
Detr introduction
move base参数解析及经验总结
提升树莓派性能的方法
【日常训练--腾讯精选50】231. 2 的幂
User management summary of mongodb
《厌女:日本的女性嫌恶》摘录
[etc.] what are the security objectives and implementation methods that cloud computing security expansion requires to focus on?
Milkdown control icon
Pcap learning notes II: pcap4j source code Notes
MongoDB复制(副本集)总结
LED light of single chip microcomputer learning notes
Build a secure and trusted computing platform based on Kunpeng's native security
MongoDB的导入导出、备份恢复总结
Scripy tutorial classic practice [New Concept English]
数字ic设计——SPI
648. 单词替换 : 字典树的经典运用
作战图鉴:12大场景详述容器安全建设要求