Thread: Comparing data of Text columns
03-01-11, 01:50 #1Registered User
- Join Date
- May 2008
Unanswered: Comparing data of Text columns
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 isCode:
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))
Can anyone tell me what I must to do resolve this problem
03-01-11, 14:06 #2(Making Your Life Easy)
Provided Answers: 10
- Join Date
- Feb 2004
- New Zealand
How is that 2 storedhope this help
the aim is store once, not store multiple times
Remember... Optimize 'til you die!
Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
VB-NET based on my own environment started 2007
SQL-2005 based on my own environment started 2008
YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.
DONT WORRY ABOUT THOSE WHO TALK BEHIND YOUR BACK
THEY'RE BEHIND YOU FOR A REASON