日期:2014-05-19  浏览次数:20376 次

SQL语法抱错了

create   table   gods
(
godId   int   identity(1,1),
godname   varchar(30),
godprice   real,
godCont   int,
godDes   real,  --就是这里错了
godType   int
)
这个表里面使用double就错了,好向只能是使用real是不是的
在线等....

------解决方案--------------------
create table gods
(
godId int identity(1,1),
godname varchar(30),
godprice real,
godCont int,
godDes Double precision, /*使用Double precision,而不能只是Double*/
godType int
)