欢迎您: 游客   等级: 游客 | 注册 | 登陆 |
发 贴
请选择需要发布主题的板块
用户名 密码
欢迎新会员: fawnmw  
   好空间网络,JSP空间,JSP虚拟主机论坛! » 数据库以及服务器区 » MYSQL专区 » MySQL and inserting rows only if they does not exist
查看
2358
回复
0
JensenBreck
级别新手上路
精华0
积分1
财富0 jstruggle币
发帖数58
注册2017-8-28
状态 我暂时不在线
发表于2017-9-11 20:18 楼主
MySQL and inserting rows only if they does not exist
Hi,  
    I should insert several rows. If a row exists, it must be skipped. If a row does not exist, it must be inserted. It is not allowed to modify the existing rows. I have a couple of ideas, but will these work at all? How would you do this?



I didn't find the right solution from the Internet.
References: https://forums.digitalpoint.com/threads/mysql-and-inserting-rows-only-if-they-does-not-exist.2811533/


分享  
JStruggle BBS

Powered by Jstruggle! 1.8 © 2006-2009

Processed in 0.015s JStruggle BBS Surprise!

粤ICP备05106211号 - 皖ICP备06010590号

copyright©JStruggle工作室版权所有 - 联系我们