Merge pull request #33 feature-NEWDWH2021-496 into develop-8sap

This commit is contained in:
朝倉 明日香 2022-07-04 11:39:50 +09:00
commit 2ff693da37

View File

@ -0,0 +1,7 @@
/* 蓄積スキーマ */
/* execute_dateがnullのレコードを抽出し、取込ファイル名のyyyymmdd部分を切り出しセットする */
update src04.saps_stocklist
set
execute_date = STR_TO_DATE(SUBSTRING(file_name,11,8),'%Y%m%d')
where
execute_date is null