Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
09-28-2011, 05:51 PM #1
- Join Date
- Aug 2010
- Thanked 2 Times in 2 Posts
merging info into specific column based on ID.
I'm both a beginner and out of practice. Can somebody put me in the right direction to figure out how to speed up the populating of my database as I get information?
I have a table with 20 fields in it. A couple fields are used to make sure there are no duplicates - ID column and a name column. Several of the other columns have no data in them - because it will come over time.
I want to figure out how to add in a range of matching info as I get it. In other words, if I have a csv list of names that are in my database, and they all have brown hair. I want to be able to use my csv file to find the matching names in my database and fill their corresponding "hair color" column with "brown".
unless there's another way to do this?
09-28-2011, 07:05 PM #2
- Join Date
- Dec 2005
- Thanked 77 Times in 77 Posts
Import csv file first into db into new table. That would be a start.
Out of many tools to do that I constantly use http://www.heidisql.com/.
When that done ask again (post table structures of table and new table from scv)
That would be a start to clarify yourself what you want to do. If later you will be getting new csv-s, you will have to write a proc for csv imports.