MySQL Forums
Forum List  »  General

User variables in LOAD DATA INFILE
Posted by: José Diomar Carvalho Carvalho
Date: January 05, 2015 08:23AM

It is possible to use user variables in LOAD DATA INFILE command?
For example:

set @filename='c:\file.csv';

LOAD DATA LOCAL INFILE @filename REPLACE INTO TABLE...;

Options: ReplyQuote


Subject
Written By
Posted
User variables in LOAD DATA INFILE
January 05, 2015 08:23AM


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.