lexus
MIS
- Oct 1, 1998
- 277
I am a total newbie to MySQL and probably have taken on too large of a project but it seems straightforward and simple. I am trying to learn it on my own, from websites, books, etc.
So I need someone to explain how I can do the following. I mean, explain like you are writing a page in the "Dummies" book. I can't find the answer anyplace!
I have a table called information in the employee database. It has 6 fields or columns. I started entering the information through phpMyAdmin.
It seems easier to do it in Excel, save it as a *.csv file, and tehm load the data into the table. I did this with another table through the MySQL Monitor and it worked great.
Now that I have done 15 rows in the table thru phpMyAdmin,how can I bring the information.csv file into the information table? Is there an append or insert into command? I can find where I can bring in single lines but not from a *.csv file.
If there is, can someone please help me? I could delete the rows I already have but would be much happier if I could append the new file to the information I already have in there.
If there is a way, could you please type it out for me? Or point me to a place where I can get the information? It's so hard to look if you don't know the exact term, such as LOAD DATA, etc.
Also, is it case-sensitive? Is LOAD DATA the same as load data?
I am sorry for asking questions that are probably so basic but I have been searching for the answers for several days! This is a project I am trying to do on my own and I am looking for some classes that don't go into the technical server setup but just the how to make it work end.
Thanks for all your help!
Regards....
**Quiquid latine dictum sit altum viditur.**
So I need someone to explain how I can do the following. I mean, explain like you are writing a page in the "Dummies" book. I can't find the answer anyplace!
I have a table called information in the employee database. It has 6 fields or columns. I started entering the information through phpMyAdmin.
It seems easier to do it in Excel, save it as a *.csv file, and tehm load the data into the table. I did this with another table through the MySQL Monitor and it worked great.
Now that I have done 15 rows in the table thru phpMyAdmin,how can I bring the information.csv file into the information table? Is there an append or insert into command? I can find where I can bring in single lines but not from a *.csv file.
If there is, can someone please help me? I could delete the rows I already have but would be much happier if I could append the new file to the information I already have in there.
If there is a way, could you please type it out for me? Or point me to a place where I can get the information? It's so hard to look if you don't know the exact term, such as LOAD DATA, etc.
Also, is it case-sensitive? Is LOAD DATA the same as load data?
I am sorry for asking questions that are probably so basic but I have been searching for the answers for several days! This is a project I am trying to do on my own and I am looking for some classes that don't go into the technical server setup but just the how to make it work end.
Thanks for all your help!
Regards....
**Quiquid latine dictum sit altum viditur.**