I get the following error message:
{returnResult=Cannot insert explicit value for identity column in table 'player' when IDENTITY_INSERT is set to OFF.;Result=Cannot insert explicit value for identity column in table 'player' when IDENTITY_INSERT is set to OFF.;}
I'm currently trying to auto-increment a player_id in a player table every time a new player is created. I set this up in Windows SQL Server Management Studio.
What should my query look like?
INSERT INTO player (player_id, player_type_id)
VALUES('','1')
I have one manual value, but I want the user_id to be unique each time it is created. All help greatly appreciated!