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 2000 Forums
 SQL Server Development (2000)
 connect by in pl/sql to sql server code

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-06-02 : 07:40:02
venkat writes "select..
.
.
and p.entity_id in (select entity_detail_id
from rulesdbo.entity_detail
connect by prior entity_detail_id = ntity_id
start with trim (entity_id) in ('abc'))
.
.

I have written this query in oracle pl/sql i have to write same query in sql server2000. But sql server 2000 doenot support CONNECT BY PRIOR ..START WITH..

I appreciate your help.

Thanks,
venkat."

harshal_in
Aged Yak Warrior

633 Posts

Posted - 2003-06-03 : 03:57:48
quote:

venkat writes "select..
.
.
and p.entity_id in (select entity_detail_id
from rulesdbo.entity_detail
connect by prior entity_detail_id = ntity_id
start with trim (entity_id) in ('abc'))
.
.

I have written this query in oracle pl/sql i have to write same query in sql server2000. But sql server 2000 doenot support CONNECT BY PRIOR ..START WITH..

I appreciate your help.

Thanks,
venkat."



check out this link:
http://www.quest.com/newsletter/newsletter_v2i2/puzzles.html#Stored_Proc


The Judgement of the Judge is as good as the Judge.
Go to Top of Page

peddi_praveen
Starting Member

48 Posts

Posted - 2003-06-03 : 05:02:51

check out this link...
http://www.experts-exchange.com/Databases/Microsoft_SQL_Server/Q_20132507.html


praveen

Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2003-06-03 : 08:14:43
Then there's THIS LINK:

http://www.sqlteam.com/item.asp?ItemID=8866

Go to Top of Page
   

- Advertisement -