Stored procedure with inserts to two related tables failing on foreign key constraint
I have a stored procedure which attempts to write to two tables, related via a foreign key constraint.
I have a stored procedure which attempts to write to two tables, related via a foreign key constraint.