Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

i just want to check that foreign key used in some other table or not

$
0
0

I am using sql server 2008 as my data base engine. i update the [DeleteStatus] field when the time of deleting process.. but in this case i am facing an issue with delete process.. i dont want to delete the row when the foreign key is used in some other tables.. remember, here i am updating the [DeleteStatus] as true or false not to permanent deleting by the table..i just want to check that foreign key used in some other table or not.... which way is suitable for achieving my goal. let me know please.......

Regards,

Prassin


Viewing all articles
Browse latest Browse all 15694

Trending Articles



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