How do I override the identity column in MSSQL? I tried :
SET IDENTITY_INSERT GeoCountry ON
UPDATE GeoCountry SET CountryID = 18 WHERE C
If you are trying to update an identity column here is one possible approach:
Do a SELECT IDENT_CURRENT('') to see if it returns the highest id that is currently present in the table.