My table has 119962649 rows and is over 600 GB in size.
I want to delete/drop one column of type nvarchar(MAX)
.
Which is the best way to do so?
Help me, thank you.
You can use alter table tab drop column col;
. But if you have a big table or PK,FK, check constraint, or indexes defined on it, then you need to be careful.
So, here are my thoughts -
select * into tab_bkp from old_tab;
alter table tab drop constraint cons_1;
alter table tab drop column col;