Skip to content

Commit

Permalink
Final script
Browse files Browse the repository at this point in the history
  • Loading branch information
slb-halfspace committed Dec 6, 2024
1 parent 63a9660 commit fe54d33
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-- Swaps the column namings to make the calculation_version the "combined" column rather than just for DH3.
ALTER TABLE {CATALOG_NAME}.{WHOLESALE_INTERNAL_DATABASE_NAME}.calculations
RENAME COLUMN calculation_version TO calculation_version_dh3_temp
GO

ALTER TABLE {CATALOG_NAME}.{WHOLESALE_INTERNAL_DATABASE_NAME}.calculations
RENAME COLUMN calculation_version_dh3 TO calculation_version
GO

ALTER TABLE {CATALOG_NAME}.{WHOLESALE_INTERNAL_DATABASE_NAME}.calculations
RENAME COLUMN calculation_version_dh3_temp TO calculation_version_dh3

0 comments on commit fe54d33

Please sign in to comment.