When I tried to Insert this
Insert into Title
(ISBN, Title, CategoryCode, PublisherCode, SuggestedPrice, NumberInStock)
Values
('1021031040', 'PL SQL', 1, 200, 75.50, 10)
I got this message and I could not figure it out. Could someone help me, please?
Msg 547, Level 16, State 0, Line 4 The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Title_PublisherCode_To_Publisher_PublisherCode". The conflict occurred in database "Lab2A_Daisuke_Sato", table "dbo.Publisher", column 'PublisherCode'.