1
我的表有一個稱爲不能指定數據類型的文本列寬
消息2716錯誤,級別16,狀態1,行1列,參數或變量#8: 不能指定列的寬度在數據類型文本上。
,我沒有看到的問題。
繼承人查詢:
create table tblAdd (
OfficeType nchar not null,
OfficeName varchar (24) not null,
AssetClassification varchar (24) not null,
AssetSubClass varchar(24) not null,
UACSObjectCode int primary key not null,
AssetItem varchar (24) not null,
Manufacturer varchar(24) not null,
Model text (24) not null,
SerialNumber text (24) not null,
Specification text (24) not null,
PropertyNumber text (24) not null,
CurrentCondition text (24) not null,
SourceOfFund varchar (24) not null,
CostOfAcquisition money not null,
DateIfAcquisition date not null,
EstimatedTotalLifeYears int not null,
NameOfAccountableOffice varchar (24) not null,
AssetLocation varchar (24) not null,
Remarks text (24) not null
)
現在我才明白,文本數據類型有最大長度哈哈哈感謝的默認:* – XxYzZ