Hi! I have two tables in a database which I've created like this:use SHOOTER create table Account (id_player int not null identity(1,1),first_name nvarchar(20) not null, last_name nvarchar(20) not null, address nvarchar(50) not null, city nvarchar(20) not null, district nvarchar(20) not null, constraint pk_id_player_A primary key(id_player)) use SHOOTERcreate table Player (id_player int not null identity(1,1), username nvarchar(30) not null, password nvarchar(20) not null, security_word nvarchar(15) not null, constraint pk_id_player_P primary key(id_player), constraint fk_id_player_P foreign key(id_player) references Account(id_player))
My database name is SHOOTER. I have a problem when I try to make an INSERT into the Player table. I get the following error: <The INSERT statement conflicted with the FOREIGN KEY constraint "fk_id_player_I" The conflict occurred in database "SHOOTER", table "dbo.Player", column 'id_player'>CAN ANYONE PLEASE HELP ME?monty