Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8027571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:51:10+00:00 2026-06-04T23:51:10+00:00

What will mysql do with both INSERT IGNORE and … ON DUPLICATE KEY UPDATE

  • 0

What will mysql do with both INSERT IGNORE and … ON DUPLICATE KEY UPDATE ?

This is not a question about their differences. I ask because Talend ETL does this behind the UI and I’m worried it will have side effects especially if I don’t want to update and do something like this:

String insertIgnore_tMysqlOutput_10 = "INSERT IGNORE INTO `"
+ "Employees"
+ "` (`Name`,`JobTitle`) VALUES (?,?) ON DUPLICATE KEY UPDATE `Name` = ?";
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T23:51:12+00:00Added an answer on June 4, 2026 at 11:51 pm

    IGNORE just acts as a kind of error-suppressor, making fatal errors act as warnings instead.

    ON DUPLICATE KEY UPDATE doesn’t trigger an error, so INGORE has no effect on it.

    Therefore, IGNORE has no effect on duplicate keys when ON DUPLICATE KEY UPDATE is used as well. However, if a different error were to occur then IGNORE would indeed have an effect.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am implementing a database application and I will use both JavaDB and MySQL
How do I change this format 11/16/2002 12:00:00 PM to something that MySQL will
Im trying to make a trigger in mySQL that will update a colum with
I'm planning to use SOLR for full-text search. Question: when I update my MySQL-database,
This question is for Mysql geospatial-extension experts. The following query doesn't the result that
if i have a table which has columns with fixed lenght, Will mySQL count
mysql will throw an error when the inserted data is larger than the destination
The following query will not execute mysql_query(SELECT * FROM order WHERE orderID = 102;);
Is there any application that will read a MySQL database table and generate a
I've been trying to write a small application which will work with mysql in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.