RE: Native Hash Full Join and Pagination Query 11g

  • From: "Mark W. Farnham" <mwf@xxxxxxxx>
  • To: <stalinsk@xxxxxxxxx>, "'Dion Cho'" <ukja.dion@xxxxxxxxx>
  • Date: Tue, 3 Nov 2009 14:59:41 -0500

you've changed the order by since the original posting. which order by do
you actually want? a.actID versus, a.actID

How do you want null values to sort for the sort order you actually want?

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Stalin
Sent: Tuesday, November 03, 2009 1:02 PM
To: Dion Cho
Cc: oracle-l
Subject: Re: Native Hash Full Join and Pagination Query 11g

No Luck there. Here is the revised Plan.

   SELECT tmp.*, rownum rnum FROM (
      SELECT /*+ opt_param('_optimizer_native_full_outer_join', 'off')
use_nl no_native_full_outer_join */ c.customerId, subscriberId, name,
city, phone1, email1, a.actId
      FROM Accounts a FULL JOIN Customer c ON a.customerid =
c.customerid ORDER BY, a.actId
   ) tmp WHERE rownum <= 10
) WHERE rnum >= 1



Other related posts: