MySQL Forums
Forum List  »  Newbie

Re: LOAD DATA INFILE / Stored Procedures
Posted by: pearsojd
Date: August 18, 2004 10:21AM

Hi Niti,

I am not sure what you are trying to achieve combining update statements with 'load data infile'(LDF). LDF cannot read SQL statements, only plain data. If your file contains 'update' statments then use either;

1. Command line
shell>mysql [options] < update_file.sql

2.Source Command
mysql> source /path to/update_file.sql;

Stored procedures are avalaible in version 5 (see
http://dev.mysql.com/doc/mysql/en/TODO_MySQL_5.0.html)

James

Options: ReplyQuote


Subject
Written By
Posted
August 18, 2004 10:05AM
Re: LOAD DATA INFILE / Stored Procedures
August 18, 2004 10:21AM


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.