B2(+) = 3

Hi all,
I have samll doubt in the following query. here is the query,
select a1,a2,b1,b2 from a,b where a1=b1(+) and b2(+) = 3
in the above query what does "b2(+) = 3 " what does it mean. I never heard about that. Please explain me.
Thanks in advance.
Regards,
Uvaraja

it provides, if there is a row comming from B table it must have 3 in b2 column but also the other rows which is comming from A table but not in B would come.
you can test it too.
create table a (id number);
create table b (id number, r number);
insert into a values (1);
insert into a values (2);
insert into a values (3);
insert into b values (1,2);
insert into b values (3,2);
insert into b values (3,3);
commit;
select * from a,b where a.id=b.id(+) and b.r(+) = 3;
3     3     3
2     null     null
1     null     null
select * from a,b where a.id=b.id(+) and b.r = 3 ;
3     3     3Edited by: Mustafa Kalaycı on Jul 31, 2012 3:09 AM

Similar Messages

Maybe you are looking for

  • My iPod No Longer Syncs!

    Hi everyone. I have a 6 GB iPod and recently when I tried to transfer some new songs onto my iPod, it wouldn't work since I had over 6 GB of music in iTunes. When iTunes asked if it could create its own playlist to transfer onto my iPod, I declined t

  • How to connect shuffle to a VW stereo??

    Got tired of looking for an adapter to connect my shuffle to my car stereo. I have a VW which comes with the 30-pin connector cable but the shuffle does not connect to that. Anyone knows how to connect??

  • Problems between a Wireless Controller and a Switch.

    I have a Wireless Controller 4402 connected to one sw2960G. I configured the controller with LAG and the switch (sw2960G) with etherchanel. I connected the controller 2 distribution ports to the 2 ports of the switch (configured with etherchanel). It

  • ALV lines limit

    Hi, I'm using FM to show an ALV report, but report stops at line number 16.073, and the itab have 16.230 lines. I didn't see any document regarding lines limit at ALV reports. Does anybody knows what happing? Thanks! Furlan

  • Oracle Process Manager doesn't start anymore - orageneric11.dll

    Hi, we have an OPMN installed as standalone for containing Oracle Data Integrator 11 agent. All was fine until a technical maintenance that reinstalled the antivirus and some other stuff. Now when i try to start OPMN service it fails and in the event