Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: Need a Script to Check if it is a Holiday

$
0
0

OK, that's clear.

That means function call lookup_ext([Staging_Area.BODIUSER.HOLIDAY_CALENDAR,'PRE_LOAD_CACHE','MAX'], [HOLIDAY_FLAG],['Y'],[CALENDAR_DATE,'=',$G_sysdate])

returns 'Y'.

Or, totally equivalent,

select HOLIDAY_FLAG from BODIUSER.HOLIDAY_CALENDAR where CALENDAR_DATE = $G_sysdate returns null or 'Y'.

Can you check the record in the HOLIDAY_CALENDAR table for the date you submit?


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>