Hi all,
I'm trying to set a column to auto increase the row value by one from the last row added to give it a unique value, I used....
when creating the table, but I get this error when adding "1" into the insert statement...
is there a way to turn on "IDENTITY_INSERT" without having physical access to the server ? or to even check "IDENTITY_INSERT" is actually off programmatically.
I'm trying to set a column to auto increase the row value by one from the last row added to give it a unique value, I used....
Code:
RowID INT NOT NULL IDENTITY(1,1)
when creating the table, but I get this error when adding "1" into the insert statement...
Code:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]An explicit value for the identity column in table 'Tbl_IPs' can only be specified when a column list is used and IDENTITY_INSERT is ON.
is there a way to turn on "IDENTITY_INSERT" without having physical access to the server ? or to even check "IDENTITY_INSERT" is actually off programmatically.