Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2010
    Posts
    405
    Thanks
    17
    Thanked 2 Times in 2 Posts

    merging info into specific column based on ID.

    Hi.

    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?

    Thanks!

  • #2
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,960
    Thanks
    120
    Thanked 76 Times in 76 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.
    Last edited by BubikolRamios; 09-28-2011 at 07:09 PM.
    Found a flower or bug and don't know what it is ?
    agrozoo.net galery
    if you don't spot search button at once, there is search form:
    agrozoo.net galery search


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •