-- Bepaal fac_version_schema (alleen de eerste twee cijfers) en lever die op in ERRORLEVEL
SET DEFINE ON
COLUMN fcltschema NEW_VALUE fcltschema NOPRINT;
SELECT TO_NUMBER(SUBSTR(fac_version_schema,1,2)) AS fcltschema FROM fac_version;
EXIT &fcltschema