sparks
2012-06-22 13:58:48 UTC
The table only has 4 columns.
I am trying to insert 3 columns and I thought that the column
DisplayOrderID would auto increment and I didn't have to do anything
to it.
but I get this error.
Cannot insert the value NULL into column 'DisplayOrderID'
the column DisplayOrderID has these properties
Identity Specification Yes
(Is Identity) Yes
Identity Increment 1
Identity Seed 1
the default value or binding is empty.
I asked and they want it to be 1 to max autoincrement.
shouldn't this just start at 1 and increment 1 each record?
I am trying to insert 3 columns and I thought that the column
DisplayOrderID would auto increment and I didn't have to do anything
to it.
but I get this error.
Cannot insert the value NULL into column 'DisplayOrderID'
the column DisplayOrderID has these properties
Identity Specification Yes
(Is Identity) Yes
Identity Increment 1
Identity Seed 1
the default value or binding is empty.
I asked and they want it to be 1 to max autoincrement.
shouldn't this just start at 1 and increment 1 each record?