User Profile

Collapse

Profile Sidebar

Collapse
rneel
rneel
Last Activity: Jul 2 '07, 07:52 AM
Joined: Apr 12 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Sorry

    I had missed the outer join in my second query

    it is

    [CODE=oracle]select a2 from table_a,table_b where table_a.a1=tabl e_b.b1 (+) and table_b.b1=9999 99[/CODE]

    and the result set of this is different from

    [CODE=oracle]select a2 from table_a left outer join table_b on table_a.a1=Tabl e_b.b2 and table_b.b1=9999 99[/CODE]...
    See more | Go to post

    Leave a comment:


  • results of left outer join and =(+) in oracle are different

    I have a query which performs the following

    [CODE=oracle]
    Select a2 from table_a left outer join table_b on table_a.a1=tabl e_b.b1 and table_b.b1=9999 99[/CODE]

    The result of set of this is different from

    [CODE=oracle]
    select a2 from table_a,table_b where table_a.a1=tabl e_b.b1 and table_b.b1=9999 99
    [/CODE]

    I am using oracle 9i... Why is it different...

    Not too...
    See more | Go to post

  • rneel
    started a topic null value in joins

    null value in joins

    i have two tables a1 and b1. they have a common column which is not having any constraints... they have null values... when i use a join between the two columns the null values are neglected... how do i include the null values in the joins...

    need help
    r -neel
    See more | Go to post

  • rneel
    started a topic need help in update statement

    need help in update statement

    i have the following structure table a1
    NO DEPT
    --------- ----------
    1 2
    1 3
    1 4
    1
    table a2 has the following structure
    NO DEPT
    --------- ----------
    1

    I need to update a2 so the at the end a2 has the same set or rows as a1... i get an error -- single subquery...
    See more | Go to post
No activity results to display
Show More
Working...