4D v14between_predicate |
||||||||||||||
|
4D v14
between_predicate
|
arithmetic_expression [NOT] BETWEEN arithmetic_expression AND arithmetic_expression |
||
A between_predicate is used to find data with values that fall within two other arithmetic_expression values (passed in ascending order). You can also pass the optional NOT keyword to excludes values falling within these limits.
Here is a simple example which returns the names of all the clients whose first name starts with a letter between A and E:
SELECT CLIENT_FIRSTNAME, CLIENT_SECONDNAME
FROM T_CLIENT
WHERE CLIENT_FIRSTNAME BETWEEN 'A' AND 'E'
Product: 4D
Theme: Syntax rules
arithmetic_expression
predicate
4D SQL Reference ( 4D v11 SQL Release 4 )
4D SQL Reference ( 4D v14)
4D SQL Reference ( 4D v12.1)
4D SQL Reference ( 4D v13.4)
4D SQL Reference ( 4D v14 R2)
4D SQL Reference ( 4D v14 R3)
4D SQL Reference ( 4D v14 R4)