I'm comparing data of 2 columns in 2 tables from 2 databases. The columns have the same DDL and they ara Text type.
The request I'm using is
select t1.SPADM_SP_CODE_FK_PK, t1.SPADM_LIBELLE, t2.SPADM_SP_CODE_FK_PK,t2.SPADM_LIBELLE
from THERIAQUE_DEST.theriaque.SPADM_SPECIALITE_MODEADM t1
inner join THERIAQUE_MAJ.theriaque.SPADM_SPECIALITE_MODEADM t2 on t1.SPADM_SP_CODE_FK_PK = t2.SPADM_SP_CODE_FK_PK
where cast(t1.SPADM_LIBELLE as varchar(max)) <> cast(t2.SPADM_LIBELLE as varchar(max))
Normally I must have a difference because the first column contains (350 mg/mē) and the second column contains (350 mg/m2) but nothing is returned.
Can anyone tell me what I must to do resolve this problem
the aim is store once, not store multiple times
Remember... Optimize 'til you die!
Progaming environment: Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010 VB based on my own environment: vb6 sp5 ASP based on my own environment: 5.6 VB-NET based on my own environment started 2007 SQL-2005 based on my own environment started 2008 MYLE YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.