Code: Select all
--
-- Altering a table dbo.Task
--
ALTER TABLE dbo.Task
ALTER COLUMN Type VARCHAR(MAX) NOT NULL
GO
I personally would recommend consistently quoting all column and table names in generated SQL scripts to avoid this issue - also makes the scripts more legible.