SELECT and SSELECT |
![]() ![]() ![]() |
The SELECT and SSELECT verbs build a select list containing the keys of records meeting specified criteria. SSELECT is equivalent to SELECT with a final sort by record id.
SELECT {DICT} file.name {USING {DICT} file.name} {record.id...} {FROM select.list.no} {SAVING {UNIQUE} {MULTI.VALUE} field.name {NO.NULLS}} {TO select.list.no}
SSELECT {DICT} file.name {USING {DICT} file.name} {record.id...} {FROM select.list.no} {SAVING {UNIQUE} {MULTI.VALUE} field.name {NO.NULLS}} {TO select.list.no}
Example
SELECT VOC WITH F1 LIKE F...
This command builds a select list containing the ids of VOC records with field one starting with an upper case F. Such a list corresponds to all files defined by the VOC. |