There is a table full which contains data. Is it possible to change field from [not null] to [null] without dropping and recreating it?
SQL writes that table have to be dropped and recreated. 🙂
There is a table full which contains data. Is it possible to change field
Share
You can try:
Per Martin Smiths comment, a change in nullability does not require a copy of the table. On disk, each row has a nullabiltiy bitmap at the start. I thought the bitmap had to be resized in some cases, but apparently it contains a bit for each column, nullable or not nullable.