MySQL Forums
Forum List  »  Connector/Node.js

[MySQL] Conditional Loading into Mysql table
Posted by: Anna Rossi
Date: January 28, 2014 08:58AM

Hi,I'm not a MySQL expert and I hope my questionion is not so stupid.
This is the problem :
I have a file to load into a table of MySQL DB, this file contains 3 columns (columns_A, columns_B, columns_C).
Before loading these data into the table of DB I need to check if a value of columns_A already exist, in this case I don't add the value and I go to the next line.
My problem is that I should do everything only with Mysql query without use of PhP or other language.
Is it possible?

Thanks in advance...

Options: ReplyQuote

Written By
[MySQL] Conditional Loading into Mysql table
January 28, 2014 08:58AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.