Created
June 4, 2018 16:09
-
-
Save Macadoshis/5b99152db2c791aa53996e2103734630 to your computer and use it in GitHub Desktop.
20180531-1648.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE [EstimationSparePart] | |
ADD | |
[IsFreeOfCharge] BIT NULL, | |
[IsFreeOfChargeInitial] BIT NULL | |
GO | |
UPDATE [EstimationSparePart] SET [IsFreeOfCharge] = 0, [IsFreeOfChargeInitial] = 0 | |
GO | |
ALTER TABLE [EstimationSparePart] ALTER COLUMN IsFreeOfCharge BIT NOT NULL | |
GO | |
ALTER TABLE [EstimationSparePart] ALTER COLUMN IsFreeOfChargeInitial BIT NOT NULL | |
GO | |
ALTER TABLE [EstimationMDWorkInstruction] | |
ADD | |
[IsCustomerRequest] BIT NULL, | |
[IsFreeOfChargeInitial] BIT NULL, | |
[IsCustomerRequestInitial] BIT NULL | |
GO | |
UPDATE [EstimationMDWorkInstruction] SET | |
[IsCustomerRequest] = 0, | |
[IsFreeOfChargeInitial] = 0, | |
[IsCustomerRequestInitial] = 0 | |
GO | |
ALTER TABLE [EstimationMDWorkInstruction] ALTER COLUMN IsCustomerRequest BIT NOT NULL | |
GO | |
ALTER TABLE [EstimationMDWorkInstruction] ALTER COLUMN IsFreeOfChargeInitial BIT NOT NULL | |
GO | |
ALTER TABLE [EstimationMDWorkInstruction] ALTER COLUMN IsFreeOfChargeInitial BIT NOT NULL | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment