I need to insert a value into a table which only consists of one column, that is, the primary key
.
Furthermore, NULL
is not allowed, Identity
is set to FALSE
and both Identity Seed
and Identity Increment
are set to 0
.
I try to insert with INSERT INTO table(id) VALUES (null)
which obviously does not work. INSERT INTO table(id) default values
also does not work.
How can I fill this column with the correctly incremented ID?