Please run the following code......to update the table1 column PayCon with the table2 column Data on the condition of the table2 column Code is reverse of the table1 column LogIn.....
Hopefully it will solve your problem...and if not then please let me know...
Query :
Update Table1
set PayCon=A.Data
from Table2 A
where LogIn = Reverse((cast(A.Code as varchar)))
Sourabh07
Anurag_M84, if this helps please login to Mark As Answer. |
Reply | Alert Moderator