Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 To find Circular dependency in a table

Author  Topic 

mahender
Starting Member

12 Posts

Posted - 2012-02-02 : 09:58:43
hi ,

In a table
i have dependency like
COL1 COL2
A --> B
B --> C
C --> A

This is a Circular Dependency. How to Find it in a SQL Qury.
I ll have N number of one to one Dependencies.

Kindly Help.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-02-02 : 10:07:33
what does that mean? can i ask why you've circular reference like this?
actually what does columns reepresent?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -