Question: INSERT INTO Billing ( BillingID , RecordID, PatientID, TotalAmount, PaymentStatus ) VALUES ( 1 , 1 , 1 , 2 0 0 . 0 0
INSERT INTO Billing BillingID RecordID, PatientID, TotalAmount, PaymentStatus
VALUES
'Paid'
'Paid'
'Paid'
'Paid'
'Paid'
'Paid'
'Paid'
'Paid'; I keep getting this error code in sql how do i fix it :: INSERT INTO Billing VALUES
'Paid'
'Paid'
'Paid'
'Paid'
'Paid'
'Paid'
'Paid'
'Paid' Error Code: Cannot add or update a child row: a foreign key constraint fails healthcarebilling CONSTRAINT billingibfk FOREIGN KEY RecordID REFERENCES medicalrecordRecordID sec
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
