ODBC guide

Delete event


This example deletes an event by ID from the specified calendar. Supply the calendar ID and the event ID.

Warning: This action is irreversible.

DELETE FROM Events  -- Deletes the specified event
WITH (CalendarId='MyCalendarId',  -- Calendar containing the event
      Id='MyEventId')              -- ID of the event to delete