Im trying to perform an outer join on a old oracle server version 8.1.6.
I know that Oracle 8i doesnt support ansi join an therefore im using the following syntax to do an inner join.
LINQ:
from table1 from table2
where table1.table2Id.Equals(table2.Id)
select new { .... an so on.
This works.
But if i want to do an "outer join" in Linq i would at something like:
from table1 from table2.DefaultIfEmpty()
But then i get this: "ORA-00933: SQL command not properly ended"
This is the same error i get when i use the ansi join syntax.
I know that oracle uses an sql syntax for outer joins with (+) like:
Code: Select all
select
table1.Id, table2.table1Id
from
table1, table2
where
table1.Id = table2.table1Id (+)