I am joining 2 tables T1 and T2 based on a condition T1.A = T2.B
T1.A have values like 'wNFq' and T2.B have values like 'WNFQ', 'wnfQ', 'WnFq', 'wNFq'
For a regular join a particular row of 'wNFq' from T1 gets joined with all values: 'WNFQ', 'wnfQ','WnFq' and 'wNFq' of T2
My intention is to join only 'wNFq' from T1 to 'wNFq'.
I achieved the same using custom SQL insert and using the below COLLATE function to join based on case sensitive sequencing using:
T1.A COLLATE Latin1_General_CS_AS_KS_WS = T2.B COLLATE Latin_1_General_CS_AS_KS_WS
Wandering if there is a different way to achieve this avoiding custom SQL.
Appreciate any help on the same.