Greetings Everyone,
I have two tables, in two databases on one SQL Server:
GFPB.P(HONE)B(OOK)2004 and CELLPHONES.
I've been asked to ask to intergrate Cellphone numbers from the two tables, CELLPHONES.Phones into the GFPB.PB2004 table.
The table.columns I need to import/intergrate to match up the person with the correct cell phone # are:
CELLPHONES.phones (source db.tables)
Individual (nvarchar(50), NULL): First and last name in one column with a comma seperating them, but not all names are seperated.
Number (nvarchar(50), NULL): area code-number surrounded by double quotes: "208-555-1212"
ID (int, NOT NULL) unique indentity per individual
GFPB.PB2004 (target.db.tables)
Individual (nvarchar(255), NULL): First and Last names seperated by a comma, again not all.
Mobile (varchar(225), NULL): area code-number surrounded by double-quotes, no quotes, and nothing.
NO ID Column (nothing unique to identify anyone)
I'm considering rebuilding the target table and trying to bcp out all the data into work table(s)and then sorting and reloading the data based on a common ID.
Any suggestions?
Thanks, Craig
I have two tables, in two databases on one SQL Server:
GFPB.P(HONE)B(OOK)2004 and CELLPHONES.
I've been asked to ask to intergrate Cellphone numbers from the two tables, CELLPHONES.Phones into the GFPB.PB2004 table.
The table.columns I need to import/intergrate to match up the person with the correct cell phone # are:
CELLPHONES.phones (source db.tables)
Individual (nvarchar(50), NULL): First and last name in one column with a comma seperating them, but not all names are seperated.
Number (nvarchar(50), NULL): area code-number surrounded by double quotes: "208-555-1212"
ID (int, NOT NULL) unique indentity per individual
GFPB.PB2004 (target.db.tables)
Individual (nvarchar(255), NULL): First and Last names seperated by a comma, again not all.
Mobile (varchar(225), NULL): area code-number surrounded by double-quotes, no quotes, and nothing.
NO ID Column (nothing unique to identify anyone)
I'm considering rebuilding the target table and trying to bcp out all the data into work table(s)and then sorting and reloading the data based on a common ID.
Any suggestions?
Thanks, Craig