Quantcast
Channel: Question and Answer » oracle
Viewing all articles
Browse latest Browse all 717

What is this view being used in my query?

$
0
0

I’m running EXPLAIN PLAN on this query:

SELECT DISTINCT l.item_num, l.repl_code
FROM item_w l
JOIN item i ON l.item_num = i.item_num
LEFT JOIN item_w r ON l.item_num = r.item_num AND l.repl_code = r.whse_code
WHERE r.whse_code IS NULL 
  AND l.repl_code IN (SELECT DISTINCT whse_code FROM item_w)
  AND i.sa_item NOT LIKE 'Z%'
ORDER BY l.item_num, l.repl_code

The query works as desired but the plan is telling me that it is using objects named VW_DTP_F6D0ECAD, VW_DTP_53909802 and VW_DTP_69531A7E which I’m not able to find in my database.

What are these objects and how are they being created?


Viewing all articles
Browse latest Browse all 717

Trending Articles