×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Not very simple. Spacing is off, etc.
Can you analyze the following returned from below?
(
SELECT MYCOL1, MYCOL2
FROM ROB.DM1 DM1 LEFT OUTER JOIN ROB.DM2 DM2
ON DM1.MYCOL1 = DM2.MYCOL2)

Source:
create table rob.dm1 (
mycol1 char(5)
);

create table rob.dm2 (
mycol2 char(5)
);

insert into rob.dm1 values ('A');
insert into rob.dm2 values ('A');

create view rob.dmv1 as (
select mycol1, mycol2
from rob.dm1 left outer join rob.dm2
on dm1.mycol1 = dm2.mycol2)
;
select table_name, view_definition
from qsys2.sysviews
where view_definition like ('%DM1%') and view_definition like ('%MYCOL1%')
;

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.