Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Looking for TSQL Query to display Parent child relationships

$
0
0
Hi All,

Checking if anybody has query which displays all the user tables in a Tree format based on parent child relationship.

CREATE TABLE [dbo].[Dept](
    [DEP_ID] [int] NOT NULL PRIMARY KEY ,
  

Viewing all articles
Browse latest Browse all 3145

Trending Articles