当前位置:网站首页>pgsql批量插入
pgsql批量插入
2022-06-22 05:47:00 【微亮之海】
INSERT INTO ad_count_hour_dws
VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
on conflict(data_date,data_hour,by_type,task_id,media_id,space_id,material_no,customer_name) --如果这些键存在
DO update set --更新以下字段,批量更新使用EXCLUDED,否则会报错
task_name=EXCLUDED.task_name,media_name=EXCLUDED.media_name,space_name=EXCLUDED.space_name
,pv=EXCLUDED.pv,uv=EXCLUDED.uv,click=EXCLUDED.click,profit=EXCLUDED.profit
边栏推荐
- An unordered array of N integers. Find the first number after each element that is larger than it. The time complexity is O (n)
- 单细胞论文记录(part11)--ClusterMap for multi-scale clustering analysis of spatial gene expression
- 不务正业系列7:老照片去除斑点手法
- 论文实验记录(part1)--Detection ofnatural clusters via S-DBSCAN a Self-tuning version of DBSCAN
- Improve your game‘s performance
- Grabcut analysis
- W800芯片平台进入OpenHarmony主干
- 小熊派BearPi-HM Micro正式合入OpenHarmony主干
- Analysis on the development status of China's copper aluminum composite bus industry and Research Report on investment opportunities 2022-2027
- 格雷码与二进制的转换
猜你喜欢

雷达导引头伺服系统的建模与仿真

Adaboost

matlab 的离散pid控制

Trigger

生信文献学习(part1)--PRECISE: a ... approach to transfer predictors of drug response from pre-clinical ...

单细胞论文记录(part11)--ClusterMap for multi-scale clustering analysis of spatial gene expression

小熊派BearPi-HM Micro正式合入OpenHarmony主干

n个整数的无序数组,找到每个元素后面比它大的第一个数,要求时间复杂度为O(N)

reduce_sum()中的reduction_indices

格雷码与二进制的转换
随机推荐
MFC TabCtrl 控件修改標簽尺寸
生信可视化(part3)--小提琴图
以太网通信协议
Vulkan 预旋转处理设备方向
Unity encrypts ASE game data
PID笔记
Read and understand the four deep learning methods of supervised learning, unsupervised learning, semi supervised learning and intensive learning
分页工具类 pageUtil<T>
触 发 器
[soft test] senior system architecture designer learning experience sharing
Test platform composed of time sequence
MySQL basic interview questions
Adaboost
PID notes
【技术随记】
单精度,双精度和精度(转载)
Frame profiling
Non transitive dice (spring daily question 51)
402 string (Title: Sword finger offer58 ii. left rotation string, 28. implementation of strstr(), 459 Repeated substrings)
单球机器人动力学与控制研究