طبیب دل
پنج شنبه 22 فروردین 1392, 15:56 عصر
من می خوام با کد زیر یه ستون اضافه کنم
alter table sandoghbank add [code] [int] not NULL
اما پیغام زیر رو میده
ALTER TABLE only allows columns to be added that can contain nulls or have a DEFAULT definition specified. Column 'code' cannot be added to table 'sandoghbank' because it does not allow nulls and does not specify a DEFAULT definition.
چی کار کنم؟
با تشکر
alter table sandoghbank add [code] [int] not NULL
اما پیغام زیر رو میده
ALTER TABLE only allows columns to be added that can contain nulls or have a DEFAULT definition specified. Column 'code' cannot be added to table 'sandoghbank' because it does not allow nulls and does not specify a DEFAULT definition.
چی کار کنم؟
با تشکر