Switches view copy between the primary and secondary table for cached views with two rotated tables.
The procedure is called internally by lyft_full_load_cached_view_copy just after the secondary copy was loaded. Note that this procedure does not execute any data load or cache eviction.
lyft_switch_view_copy 'view_name' [;]
Fully qualified name of view which status will be affected.
Switches between primary and secondary cache copy for AdventureWorksDW2012_spark.dbo.DimEmployee.
EXEC lyft_switch_view_copy 'AdventureWorksDW2012_spark.dbo.DimEmployee';