Skip to content

SAMPLE

Keeps a random sample of cases, using the session’s seeded random number generator.

SAMPLE fraction.
SAMPLE n FROM m.
Kind Transformation (pending until data is needed)
Body free-form body
Changes data yes, undoable
SET SEED=42.
SAMPLE .25.
SAMPLE 100 FROM 1000.

SET, SELECT IF


Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.