当前位置: 代码迷 >> Sql Server >> SQL语法抱错了,该如何处理
  详细解决方案

SQL语法抱错了,该如何处理

热度:10   发布时间:2016-04-27 20:22:18.0
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
)
  相关解决方案