TOP
| Specification | Value |
|---|---|
| Description | Clause returning only the first N elements |
| Parameter 1 Name | Number |
| Parameter 1 Type | int |
| Parameter 2 Name | Clauses |
| Parameter 2 Type | operator WHERE |
| Parameter 3 Name | - |
| Parameter 3 Type | - |
| Return value | The first Number elements. |
Note
This operator is used with WHERE.
Example:
10: SELECT REPO:General.Products.Products EXP:20
20: TOP CONST:5 EXP:30
30: WHERE ...