SQL Server - How to alter column nvarchar length without drop
Use Max instead. If the column were declared as VARCHAR, 8000 would be ok.
ALTER TABLE Post ALTER COLUMN Body nvarchar(max) NOT NULL;
Use Max instead. If the column were declared as VARCHAR, 8000 would be ok.
ALTER TABLE Post ALTER COLUMN Body nvarchar(max) NOT NULL;