tags:

views:

39

answers:

3

hi,

i get this error when i inserting the data in a table this is my error

The INSERT statement conflicted with the FOREIGN KEY constraint "FK_playlistvideos_videos". The conflict occurred in database "tpvnew", table "dbo.videos", column 'videoid'.

A: 

You didn't provide a valid key for your foreign key column.

Johannes Rudolph
ya i get that and i solved that problems thank you for response
Surya sasidhar
A: 

Just check if the videoid in the new record you insert into playlistvideos actually exists in videos table.

ahe
thank you dude i got it thank you for response
Surya sasidhar
A: 

The INSERT into the target table referenced a key that doesn't exist in the foreign table.

Chris J