I have an existing table say, Items
with Id | CreateDate
(as DateTime) columns; want to add Year
int not null
, take the default year from the CreateDate
column.
The Year
value will be futer updated to different value, but just set it as default value when the column Year is added, because want to add non-nullable column to Year.
Is that possible?