Using the DIFFERENCE() function to compare Redmond with Renton : Difference « String Functions « SQL Server / T-SQL






Using the DIFFERENCE() function to compare Redmond with Renton


1> -- Using the DIFFERENCE() function to compare Redmond with Renton
2>
3> SELECT DIFFERENCE ('Redmond', 'Renton')
4> GO

-----------
          3

(1 rows affected)
1>
           
       








Related examples in the same category

1.DIFFERENCE(): a wrapper around two SOUNDEX() function calls and some business logic to compare the values
2.DIFFERENCE: work out when one string sounds similar to another string
3.SELECT DIFFERENCE ( 'Fleas', 'Fleece')