主要错误 0x80040E14,次要错误 26302
> create table flowerInfo(
fid int identity not null ,
fNum varchar(30) not null,
fPicNum int(50) null,
fName text not null,
fInfo text null,
fUsers text null,
fPrice money not null,
fOther text null
)
指定的数据类型无效。 [ Data type (if known) = varchar ]
真的很搞不懂是为什么...我把帮助文档里的代码考进去也是报同样的错!这是为什么呢?
> create table flowerInfo(
fid int identity not null ,
fNum varchar(30) not null,
fPicNum int(50) null,
fName text not null,
fInfo text null,
fUsers text null,
fPrice money not null,
fOther text null
)
指定的数据类型无效。 [ Data type (if known) = varchar ]
真的很搞不懂是为什么...我把帮助文档里的代码考进去也是报同样的错!这是为什么呢?
INT 就可以了。
fid int identity not null ,
fNum varchar(30) not null,
fPicNum int null,
fName text not null,
fInfo text null,
fUsers text null,
fPrice money not null,
fOther text null
)drop table flowerInfo
int类型不能指定宽度
这么写
int后面不需要指定列宽啊