DeleteAllExceptions Macro | Teradata Vantage - 17.10 - DeleteAllExceptions - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Date and Time Functions and Expressions

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)

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 execute the macro, all exceptions are removed from the calendar and from the DBC.BusinessCalendarException table.

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