MySQL Forums
Forum List  »  Newbie

Re: LOAD DATA INFILE with case Statement
Posted by: Peter Brawley
Date: January 11, 2017 08:37AM

You example would be OK ...

Load Data ...

...,@entity_code...,...

set entity_code = if(@entity_code = "Unwanted Varchar", 900001, @entity_code);

Options: ReplyQuote


Subject
Written By
Posted
Re: LOAD DATA INFILE with case Statement
January 11, 2017 08:37AM


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.