Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Finding foreign keys of a child table,grandchild and all dependendents

$
0
0

Hi All,

I just came up with this sceanrio

I have to delete a record in a parent table with a condition provided will have to find all the child tables depends on it and should recursively find all the dependents of the child table.

How to achieve this.Please help with a query or guide.Thanks in advance


Viewing all articles
Browse latest Browse all 8428

Trending Articles



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