Results 1 to 6 of 6

Moving Contact Database

Threaded View

  1. #1
    Registered User
    Join Date
    11-11-2011
    Location
    Chicago
    MS-Off Ver
    Excel 2003
    Posts
    4

    Unhappy Moving Contact Database

    Hi, I suck with this stuff, and have worked my way into a corner I'm afraid.

    I am moving our old contact database to a new program. In the old database, the company ID that contacts reference to see what company they belong to are unique nvchar50 type characters that look like GKDF-22DK-....

    For the new program, the company ID's are INT type, so when I exported everything from my old database into excel files, and tried to import that into the new database, the types are off, so it breaks.

    I have 1 workbook, 2 excel sheets. The first excel sheet is the company export, listing their ID, address, etc. The second excel sheet is the contact export, listing the companyID it belongs to, the contacts name etc.

    What I realize I need is some type of mass find and replace script, that will look at each company record in the company sheet, search matching company ID's on the contact sheet, and replace all those matching values with an integer type of 1. then on the next record, do the same thing, and increase the integer to 2, and so on for each record. So that all the contacts now refer to the same company, only with a different ID type, that I can then import to this new program.

    Any help would be so awesome.

    I've already tried doing the above on the SQL side, but that mucks everything up when exporting the data to excel, which I need to do for import.
    Last edited by SomeoneNamedMichael; 11-14-2011 at 05:07 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1