0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

学習めも

Last updated at Posted at 2019-07-29

C環境
http://lyncs.hateblo.jp/entry/2018/03/11/032127
pamClientCd=$(awk -F'[,]' '{print $3}' <<<${line})

(
CASE
WHEN M02.PF_ID_CLS = '1'
THEN CASE
WHEN NVL(M02.CURTAIN_TIME, '2359') > '2359'
THEN CASE
WHEN M02.PF_DATE > '99991229'
THEN TO_DATE('99991231', 'YYYYMMDD')
ELSE TO_DATE(M02.PF_DATE, 'YYYYMMDD') + 1 + 1
END
ELSE CASE
WHEN M02.PF_DATE > '99991230'
THEN TO_DATE('99991231', 'YYYYMMDD')
ELSE TO_DATE(M02.PF_DATE, 'YYYYMMDD') + 1
END
END
END
) >= TO_DATE(:gUnyoDate, 'YYYYMMDD')

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?