Difference between revisions of "SET EXACT"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 15: | Line 15: | ||
==See Also== | ==See Also== | ||
− | SET PCEXACT, | + | [[SET PCEXACT]], [[LEFT()]], [[LTRIM()]], [[LPAD()]], [[RIGHT()]], [[RPAD()]], [[RTRIM()]], [[SOUNDEX()]], [[SUBSTR()]], [[TRIM()]] |
Line 38: | Line 38: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
− | [[Category:Set_Commands]] | + | [[Category:Set_Commands|EXACT]] |
Revision as of 13:21, 11 March 2009
Contents
SET EXACT
Class
Environment
Purpose
Determines how comparisons between two character expressions are performed
Syntax
SET EXACT ON | OFF | (<expL>)
See Also
SET PCEXACT, LEFT(), LTRIM(), LPAD(), RIGHT(), RPAD(), RTRIM(), SOUNDEX(), SUBSTR(), TRIM()
Description
If SET EXACT is OFF, strings are compared up to the length of the shortest string. If SET EXACT is ON, the strings compared must be an exact match in both characters and length. By default, EXACT is OFF.
Example
set exact off use patrons index events // Lists all people beginning with "SMITH" // SMITH, SMITHWAITE SMITHSON etc. list all for name = "SMITH" set exact on // Lists only those people called "SMITH" list all for name = "SMITH"
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer