7-Views
  • Mysql
  • WordPress
  • HTML

insert Archives - 7-Views

Insert into a MySQL table or update if exists

Posted by Neha Sharma
August 22, 2018

I we want to add a row to a database table, but if a row exists with the same unique key we want to update the row. For example Let’s say the unique key is employee_id, and in my database there is a row with employee_id=1 , In that case we want to update that […]

read more

  • avoid duplicate
  • insert
  • mysql
  • update
94 Comments
 
 
Recent Posts
  • How to ignore TypeScript errors with @ts-ignore?
  • Disable ONLY_FULL_GROUP_BY
  • How to install PhpStorm On Ubuntu
  • How to Configure SMTP using MailHog in Laravel using Homestead
  • Check For Foreign Key Constraint Violation In Laravel
Tags
add_theme_support admin bar hide aws creating widget dns featured image featured image wordpress https issue https with load balancer laravel login logout mysql nginx query server show_admin_bar tags update wordpress Wordpress widget
Categories
  • Angular
  • AWS
  • Bootstrap
  • Cloud
  • CodeIgniter
  • File System
  • General
  • geocoder
  • htaccess
  • HTML
  • Javascript
  • Jquery
  • Laravel
  • Mysql
  • PHP
  • TypeScript
  • Ubuntu
  • Wordpress
© 2018 7-Views