On Mon, Feb 2, 2009 at 9:41 AM, Ken Kixmoeller/fh <foxh...@information-architecture.com> wrote: > > > On Feb 2, 2009, at 9:27 AM, Stephen Russell wrote: > >>> >>> more fields..) >>> Sally Jones 222-333-4444 222-333-4445 >>> Sally Jones 222-333-4445 >>> Sally Jones 222-333-4444 sjo...@hercompany.org >>> >>> Of course, I want them all to end up: >>> Sally Jones 222-333-4444 222-333-4445 sjo...@hercompany.org >> ------------------------------------------ >> >> Have you considered normalizing this instead? >> >> PersonID, ContatTypeID, Value. >> > > Read the original post. This is a conversion program from this old, > poorly normalized database to my brand-spankin' new system. I am just > trying to dig out the best possible data to convert. > > Ken ----------------------------------
You answered your own Q. As you percolate through the data, your inserting to your normalized table that has a UNIQUE compound index. You try InsertHere and if a catch you total to counter for a GotThatValue concept. When completed you can populate your new system any way you like. If need be you can flatten your normalized styled file anyway you wanted it. -- Stephen Russell Sr. Production Systems Programmer First Horizon Bank Memphis TN 901.246-0159 _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/c4313dbe0902020821t13025564o6ef650b1683af...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.