~Fixed ALTER TABLE statement that adds the ApplicablePlant column to the Formats table so that it checks if the column exists
This commit is contained in:
parent
8f17b49287
commit
f320c8a865
@ -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