המרת קובץ טקסט ל MYSQL - תכנות - HWzone פורומים
עבור לתוכן
  • צור חשבון

המרת קובץ טקסט ל MYSQL


Mamimo

Recommended Posts

שלום,

יש לי מספר רב של קבצי DATA (ענקיים) ואני צריך להמיר אותם לדאטא ב MYSQL (בעצם לטבלה אחת גדולה).

מצאתי הסבר מסוים פה : http://www.flatmysql.com/help/putdelimited.htm

אבל האם יש דרך יותר נייטיב או יותר יעילה?

תודה מראש,

קישור לתוכן
שתף באתרים אחרים

ok

I don't have hebrew in my so I will write in eng.

The txt file acualy fields of informations, each line contains the same fields & the fields can be separated how ever I wish, comma or space for exapmle.

Sorry for the m it's suppose to be regular M.

Oh,

I am in big trouble I was sure I could use the help in the link above, But it uses a program I need to buy!

HELP...

----------------------------------------------------------------------------------------------------------

edited:

I think I found my answer ->

LOAD DATA LOCAL INFILE '/path/pet.txt' INTO TABLE pet

from MySql reference manual, I hope it will work.

I will be glad to hear any other suggestions.

:-\

קישור לתוכן
שתף באתרים אחרים

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

×
  • צור חדש...