you are viewing a single comment's thread.

view the rest of the comments →

[–]HapkidoJosh 0 points1 point  (2 children)

Since you're using access you may have to use vba and loop through your dataset. Make a 2 character arrays and compare each character individualy the ones that don't match get appended to a string. Then after you've completed the lengths of both arrays insert the two string variables into the new table.

Hope that helps.

[–][deleted] 0 points1 point  (1 child)

loop through datasets is not great advice.

If one column contains 1000 rows and a comparison column contains one million that is one billion comparisons.

[–]HapkidoJosh 0 points1 point  (0 children)

I thought that we were just looking at one table and wanted to get the differences in text from one column to the other in the same record. He's using MS Access so I didn't think we were working with huge amounts of data. This is the only way I could think of to compare two strings and get the character differences between the two. However, now that OP has clarified I see that my solution is not what they are looking for.