Skip to content

Commit

Permalink
Fixed rename script
Browse files Browse the repository at this point in the history
  • Loading branch information
slb-halfspace committed Dec 9, 2024
1 parent 622d627 commit b9faa7c
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
-- 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
RENAME COLUMN calculation_version TO calculation_version_dh3
GO

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

0 comments on commit b9faa7c

Please sign in to comment.