data4impact/apps/data4impact-import-scripts/dataExtensions.sql

4 lines
60 B
SQL

UPDATE public.Document
SET batchid = SUBSTR(pubyear,0,5) ;