MySQL Forums
Forum List  »  Newbie

Re: LOAD DATA INFILE with case Statement
Posted by: Peter Brawley
Date: January 04, 2017 09:39AM

For problem column col that needs coercion to a numeric value ...

Load Data ...
(...,@var,...)
set col=@var+0 ;

Options: ReplyQuote


Subject
Written By
Posted
Re: LOAD DATA INFILE with case Statement
January 04, 2017 09:39AM


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.