Hi,
I write a simple delete query. And execute that query. Then I found below error.
Is there any solution for above??- Msg 547, Level 16, State 0, Line 5
- The DELETE statement conflicted with the REFERENCE constraint "FK_tb_state_tb_country". The conflict occurred in database "EmployeeDB", table "dbo.tb_state", column 'country_id'.
- The statement has been terminated.

Code AloneRank #488 · 5.1K reputationPosted Nov 25, 2018, 5:23 PM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Nov 25, 2018, 5:21 PM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Nov 25, 2018, 2:06 AM EST
Shweta6851 reputationPosted Nov 25, 2018, 4:52 PM EST
Shweta6851 reputationPosted Nov 25, 2018, 10:56 PM EST