I want to find fields that may be the same in some parts but not 100% identical
For example
Field 1 Has the word "Smith"
Field 2 has "Smith AB" in it
Is there any code i can write to find these, without writing code for every single name I am using SQL server 2008 Thanking you in advance
Software/Hardware used:
SQL server 2008
ASKED:
June 28, 2010 3:37 PM
UPDATED:
July 14, 2010 8:01 PM
can’t you just do a select * from * where * like ‘%smith%’
ref: http://www.techonthenet.com/sql/like.php
or you might have to put every column name in the where clause.
In the case when you compare with whole field, try this