I am using mysqlimport to get rows from a text file to a table easily like so:
mysqlimport -u root -p --local mytest employee.txt
Can I do this from a stored procedure? All attempts so far have failed I'm afraid this may only be available using command line? The objective is to have a job call a SP, this SP extracts rows from a text file (tab delimited), then the SP compares each row with an existing table, if found it will update, else insert.
Thanking you