Insert Into auctionitem values
(1,'wolfenstein','PC',20.00,1,Jul 3 1991 12:00AM ,1,'Newest PC Game')
Line 2: Incorrect syntax near '3'.
This is how i set it up
CREATE TABLE [auctionitem] (
[auctionitem_id] [int] NOT NULL ,
[productname] [varchar] NOT NULL ,
[category_name] [varchar] (75) NOT NULL ,
[currentbid] [money] NOT NULL ,
[numbid] [int] NOT NULL ,
[closingdate] [datetime] NOT NULL ,
[bidincrement] [money] NOT NULL ,
[description] [text] NULL ,
CONSTRAINT PK_auctionitemid PRIMARY KEY CLUSTERED
(
auctionitem_id
)
)
(1,'wolfenstein','PC',20.00,1,Jul 3 1991 12:00AM ,1,'Newest PC Game')
Line 2: Incorrect syntax near '3'.
This is how i set it up
CREATE TABLE [auctionitem] (
[auctionitem_id] [int] NOT NULL ,
[productname] [varchar] NOT NULL ,
[category_name] [varchar] (75) NOT NULL ,
[currentbid] [money] NOT NULL ,
[numbid] [int] NOT NULL ,
[closingdate] [datetime] NOT NULL ,
[bidincrement] [money] NOT NULL ,
[description] [text] NULL ,
CONSTRAINT PK_auctionitemid PRIMARY KEY CLUSTERED
(
auctionitem_id
)
)