2016-11-22 83 views
-3
Create Table ITEM (
    ItemID Char(25) Not Null 
, ItemName Char(25) Not Null 
, ItemPrice Decimal(5, 2) Not Null 
, QuantityonHand Int Not Null 
, Primary Key (ItemID) 
); 
+0

因此,whats位在该行有什么不同? – jarlh

+1

适用于我:http://sqlfiddle.com/#!9/cb302 – Linkan

回答

0

尝试这样做,

Create Table ITEM (
ItemID Char(25) Not Null PRIMARY KEY, 
ItemName Char(25) Not Null, 
ItemPrice Decimal(5, 2) Not Null, 
QuantityonHand Int Not Null 
); 
+0

好的工作,不确定是什么导致了错误。 –

+0

很高兴提供帮助。但不知道降级我的答案的目的是什么。 – 2016-11-22 15:23:50

+1

我没有,它在-2,我一直试图upvote它。 –