DEFINE TEMP-TABLE ttEmployee NO-UNDO
FIELD cEmployee AS CHARACTER FIELD cManager AS CHARACTER FIELD iAge AS INTEGER INDEX idxEmployee AS UNIQUE cEmployee. DEFINE DATASET myRecurs FOR ttEmployee DATA-RELATION r1 FOR ttEmployee, ttEmployee RELATION-FIELDS (cEmployee, cManager) RECURSIVE. |
logical-var = dataset-handle:GET-RELATION(1):RECURSIVE
|