ODBC guide

Move event to a different calendar


This example moves an event from one calendar to another. Supply the source calendar ID, target calendar ID, and the event ID.

Use case: Reorganize events across calendars.

UPDATE move_event  -- Moves the event to a new calendar
WITH (SourceCalendarId='MySourceCalendarId',  -- Original calendar ID
      TargetCalendarId='MyTargetCalendarId',  -- Destination calendar ID
      Id='MyEventId')                         -- Event ID to move