Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load Log

Status
Not open for further replies.

masalachol

Technical User
Apr 8, 2004
20
US
Hello:

I am new to MYSQL and my knowlege base is from reading online documentatation. I found that the quickest and most convinient manner to load data to existing tables is using the

load data infile <filename>
into table <table_name>
fields terminated by ' '
lines terminated by ' '

My questions is the following... How safe is it to use the syntax above? Where can I find the load log to see if there were any errors?

Also what are some other suggestions on how to load data to MYSQL?

In addition, I have some fields in the import file that are nulls. Is there syntax that allows me to tell MYSQL if there is a null value prior to loading fill in the field space with a "NOVALUE" string?

Looking forward to your replies.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top