[SQL] Join issue?

2004-12-15 Thread Marian POPESCU
Hi, I have a problem with this join query: SELECT CASE WHEN (UR.id_rights IS NULL) THEN '0' ELSE UR.id_rights END as id_rights, CASE WHEN (UR.r_category IS NULL) THEN 'CMP' ELSE UR.r_category END as category, U.id as id_user, U.username FROM mgw_users U LEFT OUTER J

[SQL] Join issue?

2004-12-15 Thread Marian POPESCU
Hi, I have a problem with this join query: SELECT CASE WHEN (UR.id_rights IS NULL) THEN '0' ELSE UR.id_rights END as id_rights, CASE WHEN (UR.r_category IS NULL) THEN 'CMP' ELSE UR.r_category END as category, U.id as id_user, U.username FROM mgw_users U LEFT OUTER JOIN mgw_cnt_us

[SQL] [Fwd: Majordomo results: unsubscribe]

2004-12-15 Thread Jodi Kanter
I am going to be on leave from work for a few months and am trying to remove myself from the admin and sql lists until I return. I received the following message below. Can anyone assist? I am not sure why it's not working. My email address is [EMAIL PROTECTED] and my alias for this account is

[SQL] Breadth first traversal in PLSQL (How to implement Queue?)

2004-12-15 Thread Richard Rowell
I have a table with a unary (recursive) relationship that represents a hierarchy. With the gracious help of Mike Rylander I was able to port a TSQL function that would traverse "up" the hierarchy to PL/SQL. Now I need help porting the "down" the hierarchy function. As implemented in TSQL I uti

Re: [SQL] Breadth first traversal in PLSQL (How to implement Queue?)

2004-12-15 Thread Mike Rylander
On Wed, 15 Dec 2004 12:54:44 -0600, Richard Rowell <[EMAIL PROTECTED]> wrote: > I have a table with a unary (recursive) relationship that represents a > hierarchy. With the gracious help of Mike Rylander I was able to port a > TSQL function that would traverse "up" the hierarchy to PL/SQL. Now I

Re: [SQL] Join issue?

2004-12-15 Thread Stephan Szabo
On Wed, 15 Dec 2004, Marian POPESCU wrote: > Hi, > > I have a problem with this join query: > > > SELECT > CASE WHEN (UR.id_rights IS NULL) THEN '0' ELSE UR.id_rights END as > id_rights, > CASE WHEN (UR.r_category IS NULL) THEN 'CMP' ELSE UR.r_category END as > category, > U.id

Re: [SQL] Breadth first traversal in PLSQL (How to implement Queue?)

2004-12-15 Thread Mike Rylander
Arg! One more change below On Wed, 15 Dec 2004 21:48:57 -0500, Mike Rylander <[EMAIL PROTECTED]> wrote: > On Wed, 15 Dec 2004 12:54:44 -0600, Richard Rowell > <[EMAIL PROTECTED]> wrote: > > I have a table with a unary (recursive) relationship that represents a > > hierarchy. With the gracious hel

Re: [SQL] Breadth first traversal in PLSQL (How to implement Queue?)

2004-12-15 Thread Andrew - Supernews
On 2004-12-15, Richard Rowell <[EMAIL PROTECTED]> wrote: > I have a table with a unary (recursive) relationship that represents a > hierarchy. With the gracious help of Mike Rylander I was able to port a > TSQL function that would traverse "up" the hierarchy to PL/SQL. Now I > need help porting t

Re: [SQL] [Fwd: Majordomo results: unsubscribe]

2004-12-15 Thread Richard Huxton
Jodi Kanter wrote: I am going to be on leave from work for a few months and am trying to remove myself from the admin and sql lists until I return. I received the following message below. Can anyone assist? I am not sure why it's not working. My email address is [EMAIL PROTECTED] and my alias fo