Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outer Join -- SQL

Status
Not open for further replies.

amerbaig

IS-IT--Management
Sep 4, 2001
58
0
0
CA
Am I allowed to use oute-join like this

Select Normalised_event_ID, A_Party_Id, B_Party_Id, Full_Path, Name from Normalised_event, tblOperator where Substr(B_Party_Id,1,length(code)) (+) = code and trim(full_path) = '107' order by Normalised_event_ID

It give me error ORA--00920 Invalid Operator
 
Sem, it should work. I figured that this had already been tried and discarded. This would be the full SQL
Select Normalised_event_ID,
A_Party_Id,
B_Party_Id,
Full_Path,
Name
from
Normalised_event,
tblOperator
where
B_Party_Id(+)like code||'%'
and trim(full_path) = '107'
order by Normalised_event_ID
SOL
The best thing about banging your head against a wall is when you stop.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top