Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
ahmadjamalkhan
Starting Member
36 Posts |
Posted - 2009-05-06 : 07:15:59
|
| HiI have tableA , which has two columns , codes and price, I have another tableB , which has codes and pricesTableACodes, Prices92 , 10923 , 1292300, 11TableBCodes, Prices92 , 10923 , 1292300, 1092333, 1092345, 11I want to compare these two tables in a way that if a code exist in one table like 92333 and 92345 which is not present in other , It should return the best match . For example like table A does not have 92333 it should look for best possible match which would be 923 . and same for 92345 , it should look for best match which again would be 923 .I will appreciate if someone can help me and put me in right direction.Thanks |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
|
|
ahmadjamalkhan
Starting Member
36 Posts |
Posted - 2009-05-06 : 07:57:41
|
| aah ! sorry i thought that thread was closed!Thanks I will keep an eye on both these threads. Hopefully I will get some more answeres. |
 |
|
|
|
|
|
|
|