2016-11-22 35 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它。 –

相關問題