Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 3540

Seeking support regarding set default value in referntial integrity

$
0
0

Hello!

I am using SQL SERVER 2012  and I have tried to implement the 'ON DELETE SET DEFAULT' feature while applying the referential integrity between master and child table(primary key table and foreign key table), but every time I tried it, I get wrong message saying that foreign key violation message. 

I did all these option from 1 to 3. But option 4 has not been implemented. 

1)ON DELETE NO ACTION

2)ON DELETE CASCADE

3)ON DELETE SET NULL

4)ON DELETE SET DEFAULT

please, hoping your support regarding ON DELETE SET DEFAULT


Viewing all articles
Browse latest Browse all 3540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>