I'm trying to write a report that has an outer join to a constant. I have the following SQL:
WHERE ext_trad_ref.cmpy_num(+) = trade.cmpy_num
AND ext_trad_ref.trad_tag(+) = trade.trad_tag
AND ext_trad_ref.ref_type(+) = 'DEA'
The first two lines were easy enough to replicate in the admin edition and work fine, however the 3rd line is the sticking point. I originally set it up as a condition as normal but I can't see anywhere where you can specify that it's to be an outer join.
Has anyone an idea of how to do this. The report is perfect except for this 1 line.
Why doesn't the Oracle optimizer use my index?
Querying too much data
Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table.
So, the obvious side…
How to Create User-Defined Aggregates in Oracle
Before we begin creating these things, what are user-defined aggregates? They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows how to copy a database user from one database to another user DBMS_METADATA. It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…