sql - In TSQL for MSSMS 2000, how does one change a nonnullable column to be nullable? -
i know column doing reverse process (nullable nonnullable) is
alter table [course_enrollment] alter column [enrollment_date] datetime not null
but going nonnullable nullable? (i don't want mess things up, removing not above sql , therefore might risk changing default value null.)
this correct assumed:
alter table [course_enrollment] alter column [enrollment_date] datetime null;
in nullable column default in fact null
unless specify otherwise.
Comments
Post a Comment