feat:SAPデータ取込のため、Stocklistの拡張SQLを作成し、レビュー指摘対応を行った

This commit is contained in:
yuusuke_kanamura 2022-06-28 10:41:10 +09:00
parent dfc681094f
commit fb7cf53b65

View File

@ -0,0 +1,4 @@
/* 蓄積スキーマ */
/* execute_dateがnullのレコードを抽出し、取込ファイル名のyyyymmdd部分を切り出しセットする */
update src04.saps_stocklist set
execute_date = REGEXP_SUBSTR(file_name,'[0-9]{8}') where execute_date is null;