~Fixed ALTER TABLE statement that adds the ApplicablePlant column to the Formats table so that it checks if the column exists #137

Merged
cglavan merged 1 commits from C2023-017 into Development 2023-10-18 09:07:25 -04:00

View File

@ -21942,7 +21942,11 @@ GO
*/ */
/****** Add the ApplicablePlant field to the Formats table ******/ /****** Add the ApplicablePlant field to the Formats table ******/
/****** Add the ApplicablePlant field to the Formats table ******/
IF COL_LENGTH('Formats', 'ApplicablePlant') IS NULL
BEGIN
ALTER TABLE Formats ADD ApplicablePlant int NULL; ALTER TABLE Formats ADD ApplicablePlant int NULL;
END
GO GO
/****** Update the Formats table with the appropriate ApplicablePlant value ******/ /****** Update the Formats table with the appropriate ApplicablePlant value ******/