Merge pull request '~Fixed ALTER TABLE statement that adds the ApplicablePlant column to the Formats table so that it checks if the column exists' (#137) from C2023-017 into Development
Merging into Development. No code review needed.
This commit is contained in:
commit
22e70d03ad
@ -21942,7 +21942,11 @@ GO
|
||||
*/
|
||||
|
||||
/****** Add the ApplicablePlant field to the Formats table ******/
|
||||
ALTER TABLE Formats ADD ApplicablePlant int NULL;
|
||||
/****** Add the ApplicablePlant field to the Formats table ******/
|
||||
IF COL_LENGTH('Formats', 'ApplicablePlant') IS NULL
|
||||
BEGIN
|
||||
ALTER TABLE Formats ADD ApplicablePlant int NULL;
|
||||
END
|
||||
GO
|
||||
|
||||
/****** Update the Formats table with the appropriate ApplicablePlant value ******/
|
||||
|
Loading…
x
Reference in New Issue
Block a user