I have problem with primary key column in my table. I set id column to be primary key ( I create table in Management studio and set there ), is identity to yes, increment to 1, seed to 1 , but when I try to insert it doesn't want to insert ( insert just once and doesn't increment value for id ). What to do ? This is from Managememt studio .
/****** Object: Table [dbo].[club] Script Date: 01/01/2011 22:00:04 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[club](
[id] [int] NOT NULL,
[name] [varchar](50) NOT NULL,
[id_city] [int] NOT NULL,
[street] [varchar](50) NULL,
[street_number] [nchar](10) NULL,
[descritpion] [varchar](500) NULL,
[logo_path] [varchar](50) NULL,
CONSTRAINT [PK_club] PRIMARY KEY CLUSTERED
(
[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO