Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 
CreamKids


Why we use IGNORE keyword query in MySQL?
Question Posted on 06 Jan 2022

Home >> DataBase >> MySQL >> Why we use IGNORE keyword query in MySQL?




Why we use IGNORE keyword query in MySQL?
There are certain condition when we need to insert some duplicate records in table in presence of unique index. But when we try this we will get some error. So to discard this we use the "INSERT IGNORE" command instead of "INSERT". And MSSQL will discard the record if it is duplicate. And below is the syntax for IGNORE Keyword in MySQL:-

INSERT IGNORE INTO Table (field1, field2, field3)
-> VALUES( 'value1', 'value2', 'value3');
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Can we use "Order BY" in delete statement in MySQL Query?
Difference between char_length and Length in MySQL?
What are different tables and default database present in MySQL?
Way to clear screen in MySQL in Window operating system?
Who was started and owned MySQL?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |