The following statement employs a business calendar function in an AS OF clause to define a view that shows insurance policies valid at the beginning of the current year.
CREATE VIEW ValidePoliciesOnJan1 AS VALIDTIME AS OF TD_YEAR_BEGIN(CURRENT_DATE) SELECT * FROM Policy;