SYSTEM$MIGRATE_LEGACY_EVENT_ROUTING_CONFIGURATION
functionsupportedAccounts, users, sessions, warehousesMigrates the legacy event account configuration by creating a new event routing table with corresponding rules. The function doesn’t activate the new table. The resulting table has one rule for each region with an active event account. Each rule name uses the format <region_name>_RULE, and the rule’s destination account is the event account configured for that region.
Syntax
SYSTEM$MIGRATE_LEGACY_EVENT_ROUTING_CONFIGURATION( '<table_name>' )
Parameters
| Name | Required | Description |
|---|---|---|
table_name | required | Specifies the name of the event routing table to create. The table name must be unique within the organization. |
Returns
Returns a message indicating whether the operation succeeded or failed.
Usage notes
- The migration fails if the legacy event-sharing configuration includes an event account for a region outside the PUBLIC region group. For government or sovereign regions, continue using the legacy event-sharing configuration.
Access control requirements
- Only organization administrators can execute this SQL function.