I am having a table which is having a single column which in unique as set auto incremented IDENTITY
on. how to insert in that table ? or how to insert a new row in that table? i wanna use that row as a counter.
Edited:
This is my table schema:
CREATE TABLE [dbo].[extra](
[id] [int] IDENTITY(1,1) NOT NULL
) ON [PRIMARY]
I am using sql server.
insert into extra(id) values (default).
This query showing an error.