SQL Performance (MOSC)

MOSC Banner

Need help in tuning the query

edited Oct 22, 2015 10:00AM in SQL Performance (MOSC) 4 commentsAnswered

Hi,

I wan to extract the customer addresses from EBS 11i on database 11.2.3, could you help in tuning

SELECT

     ca.cust_account_id

     ,hl.location_id

     ,hl.address1

     ,hl.address2

     ,hl.city

     ,hl.postal_code

     ,hl.country

     ,pa.status

     ,cu.primary_flag

     ,(select max(x.ip_number) from oe_order_headers_all oh,zzcc_orders_all x where oh.ordered_date=x.ordered_date and      oh.sold_to_org_id = ca.cust_account_id

     and trunc(oh.creation_date)=trunc(hl.creation_date)) ip_number

     ,hl.creation_date

     ,hl.last_update_date

FROM ar.hz_cust_site_uses_all cu

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center