DISTINCT

LANSA

DISTINCT
All about SELECT_SQLThe Things that Make Up this ExampleTo Execute this ExampleForms/Components for this Example

Function SET189A or form S_189FA

Use DISTINCT to eliminate duplicate field values:


SELECT_SQL FIELDS(#EMPNO) FROM_FILES((PSLSKL)) DISTINCT(*YES)




TypeNameCodeDescription
FunctionSET189ASET189ASELECT_SQL - Distinct
Form S_189FAS_189FASELECT_SQL - Distinct