expression1 BEGINS expression2An expression that has a CHARACTER or LONGCHAR value that you test to see if it begins with expression2.An expression that has a character value that you want to compare to the beginning of expression1. If you specify a null value ("") for expression2, the AVM returns all the records in the database.
Most character comparisons are case insensitive in ABL. By default, all characters are converted to uppercase prior to comparisons. However, you can define fields and variables as case sensitive (use if strict ANSI SQL adherence is required). If either of the character expressions passed to BEGINS is a field or variable defined as case sensitive, the comparison is case sensitive. In a case-sensitive comparison “SMITH” does not equal “Smith”.
"x" BEGINS "x "
"x" = "x "
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |