当前位置:网站首页>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
边栏推荐
- 一文读懂数仓中的pg_stat
- How to make the new window opened by electorn on the window taskbar
- Talk about pseudo sharing
- Getting started with MySQL
- JS slow motion animation principle teaching (super detail)
- LED light of single chip microcomputer learning notes
- Esp32 series column
- Drawerlayout suppress sideslip display
- [learning notes] agc010
- MySQL error 28 and solution
猜你喜欢

QQ medicine, Tencent ticket

Distributed transaction solution

TPG x AIDU | AI leading talent recruitment plan in progress!

Milkdown control icon

数据库系统概论-第一章绪论【概念模型、层次模型和三级模式(外模式、模式、内模式)】

Introduction and basic use of stored procedures

Help tenants

Storage principle inside mongodb

Cinnamon taskbar speed

分布式事务解决方案
随机推荐
Japanese government and enterprise employees got drunk and lost 460000 information USB flash drives. They publicly apologized and disclosed password rules
最佳实践 | 用腾讯云AI意愿核身为电话合规保驾护航
Sliding rail stepping motor commissioning (national ocean vehicle competition) (STM32 master control)
Scrapy教程经典实战【新概念英语】
Vscade editor esp32 header file wavy line does not jump completely solved
JS缓动动画原理教学(超细节)
QQ medicine, Tencent ticket
How to make join run faster?
Solve the cache breakdown problem
PAcP learning note 1: programming with pcap
clion mingw64中文乱码
ESP32构解工程添加组件
Cinnamon taskbar speed
提升树莓派性能的方法
Mongodb command summary
记一次 .NET 某新能源系统 线程疯涨 分析
【等保】云计算安全扩展要求关注的安全目标和实现方式区分原则有哪些?
10 pictures open the door of CPU cache consistency
Split screen bug notes
【日常训练】648. 单词替换