sql - Oracle (+) operator equal number -
i know (+) operator in query:
select * tbl_test t, tbl_test_2 t2 t.field (+) = t2.field;
but (+) operator in such query as:
select * tbl_test t t.field (+) = 2;
i don't know...
can explain it?
i have example
select * xxtest v_id v_name v_address 5 pricelist 349fdafd34m 7 pricelist 349fdafd34m 7 footer1 349fdafd34m 5 footer1 349fdafd34m 5 header1 349fdafd34m 7 header1 349fdafd34m select * xxtest2 v_id v_name v_address 7 header1 349fdafd34m
query 01
select * xxtest aa, xxtest2 bb aa.v_id = bb.v_id(+) , bb.v_id(+) = 7 v_id v_name v_address v_id v_name v_address 7 pricelist 349fdafd34m 7 header1 349fdafd34m 7 footer1 349fdafd34m 7 header1 349fdafd34m 7 header1 349fdafd34m 7 header1 349fdafd34m 5 pricelist 349fdafd34m - - - 5 footer1 349fdafd34m - - - 5 header1 349fdafd34m - - -
query 02
select * xxtest aa, xxtest2 bb aa.v_id = bb.v_id(+) , bb.v_id = 7 v_id v_name v_address v_id v_name v_address 7 pricelist 349fdafd34m 7 header1 349fdafd34m 7 footer1 349fdafd34m 7 header1 349fdafd34m 7 header1 349fdafd34m 7 header1 349fdafd34m
hope it's u.
Comments
Post a Comment