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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -