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)
 Start with connect by in SQL server 2008

Author  Topic 

sagarika
Starting Member

1 Post

Posted - 2012-05-03 : 11:29:44
What is the alternative in SQL server 2008 for Start with connect by as in Oracle.

Sagarika

vijays3
Constraint Violating Yak Guru

354 Posts

Posted - 2012-05-03 : 11:34:46
Did not understand you question .Please Explain it more..
Go to Top of Page

jackv
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2012-05-03 : 12:41:39
You're refering to hierachial queries.
Common table Expressions is a good place to start

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-05-03 : 15:15:26
or if over 2008 you can even try hierarchyid datatype

http://msdn.microsoft.com/en-us/library/bb677290(v=sql.100).aspx

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

Go to Top of Page
   

- Advertisement -