Returns the difference in the SOUNDEX values between the two string expressions.
DIFFERENCE ( string-expression-1, string-expression-2 )
string-expression-1 The first SOUNDEX argument.
string-expression-2 The second SOUNDEX argument.
SMALLINT
The DIFFERENCE function compares the SOUNDEX values of two strings and evaluates the similarity between them, returning a value from 0 through 4, where 4 is the best match.
This function always returns some value. The result is NULL only if one of the arguments are NULL.
SQL/2003 Vendor extension.
The following statement returns the value 3.
SELECT DIFFERENCE( 'test', 'chest' ); |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |