Forum Moderators: open

Message Too Old, No Replies

Insert data from a text file into the table

         

afridy

4:26 am on Apr 16, 2006 (gmt 0)

10+ Year Member



Hi. my websever mysql manager allows to Insert data from a text file into the table.
currently i have a table with the following fields.

email name country

so i wanto insers data from a text file into this table.
so my question is : how the text file format should be prepared.

i.e. the first record would be > 123@yahoo.com john us

adwatson

3:28 pm on Apr 16, 2006 (gmt 0)

10+ Year Member



Are you saying it has some sort of automated system to import tab delimited data or something? Or are you asking how to format the data into an SQL query for inserting the data?

afridy

5:42 pm on Apr 16, 2006 (gmt 0)

10+ Year Member



hai adwat..

it has an automated syste. but adw. i found that the text file format should be in the follwoing order.

"123@yahoo.com","john","us"

Thank you for the post.
appriciate your continues support in the forum.

regards
afd.