View Full Version : merging info into specific column based on ID.

09-28-2011, 06:51 PM

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, 08:05 PM
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.