DeleteException Macro | VantageCloud Lake - DeleteException - 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 an exception from a specific business calendar. When you delete an exception, the status for that exception day reverts to its defined status in the pattern for the calendar.

When you run the macro, the exception is removed from the calendar and from the DBC.BusinessCalendarException table.

If you need to delete all of the exceptions from a calendar, use the DeleteAllExceptions macro (see DeleteAllExceptions).