Académique Documents
Professionnel Documents
Culture Documents
Create from the without the dup col, new file should be JCACTTEST
____________________________________________________________________________
#SELECT *
#FROM
#lgatod_2t2/S_CON_WA
#where ROW_ID = '1+1HIQ+354'
SELECT b.*
FROM LGAUSRPRD/JCACTTEST b
left join lgatod_2t2/S_CON_WA s
on b.mid_name = s.mid_name
WHERE s.MID_NAME is null
Perform count:
select count(*)
from lgausrprd/JCACTTEST m
left join lgatod_2t2/s_con_wa s
on m.mid_name = s.mid_name
where s.mid_name is null (1 recs)
______________________________________________________________________________
OR
#SELECT *
#FROM
#lgatod_2t2/S_USER
#where LOGIN = 'I084020797'
--------------------------------------------------------------------------------
SELECT b.type
FROM LGAUSRPRD/JCACTTEST B
LEFT JOIN lgatod_2t2/S_LST00001 s
ON B.type = s.NAME
AND( s."TYPE" = 'TODO_TYPE'
AND s.LANG_ID = 'ENU')
WHERE s.NAME is null
AND not B.Type = ''
LOV
SELECT distinct(VAL,NAME,ACTIVE_FLG)
FROM lgatod_2t2/S_LST00001
Where
"TYPE" = 'TODO_TYPE'
AND LANG_ID = 'ENU'
AND ACTIVE_FLG = 'Y'
________________________________________________________________________________
SELECT b.display_in
FROM LGAUSRPRD/JCACTTEST B
LEFT JOIN lgatod_2t2/S_LST00001 s
ON B.Display_In = s.NAME
AND( s."TYPE" = 'ACTIVITY_DISPLAY_CODE'
AND s.LANG_ID = 'ENU')
WHERE s.NAME is null
AND not B.Display_In = ''
___________________________________________________________________________________
______
#SELECT *
#FROM
#lgatod_2t2/S_LST00001
#where TYPE = 'EVENT_STATUS'
#and LANG_ID = 'ENU'
#and ACTIVE_FLG = 'Y'
_______________________________________________________________________________
___________________________________________________________________________________
______