I have this table:
CREATE TABLE [dbo].[users](
[userid] [int] IDENTITY(1,1) NOT NULL,
[realname] [nvarchar](250) NOT NULL,
[password] [varchar](250) NOT NULL,
CONSTRAINT [PK_users] PRIMARY KEY CLUSTERED
(
[userid] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
I copied it from another database, i want it to increment each row by 1 , currently it increment each new row by 1 but when reach 100 it turns to 1000 and when reach 1099 it turns to 2000 not to 1100, 1101 so on .... How can i solve it to increment by 1 continuously ?