DeleteAllExceptions Macro | VantageCloud Lake - DeleteAllExceptions - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
jbe1714339405530

You can use this macro to delete all of the exceptions from a specific business calendar. When you delete all exceptions, the status for all exception days automatically reverts to the status defined for the days in the pattern for the calendar.

When you run the macro, all exceptions are removed from the calendar and from the DBC.BusinessCalendarException table.

If you need to delete an exception from a calendar, use the DeleteException macro (see DeleteException).