Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
Please should be informed that when i tried to load data from tables usinginner join i got the below error
Table not found error
Table 'STOLOT' not found
inner join(STOLOT)
Load
ITMREF_0,
ITMDES1_0
and here is my script
SQL SELECT *
FROM sagex3lab.SEED.STOJOU;
Inner join(STOJOU)
Load
ITMREF_0,
LOT_0,
SLO_0;
SQL SELECT *
FROM sagex3lab.SEED.STOLOT;
inner join(STOLOT)
Load
ITMREF_0,
ITMDES1_0;
SQL SELECT *
FROM sagex3lab.SEED.ITMMASTER;
//-------- End Multiple Select Statements ------
instead of innerjoin can you try with "
NOCONCATENATE
Thanks for your reply can you show me where i can put on the script "NOCONCATENATE"
it is working thank you
it is loading data but data not correct
Try this
Temp:
SQL SELECT *
FROM sagex3lab.SEED.STOJOU;
Inner join(Temp)
Load
ITMREF_0,
LOT_0,
SLO_0;
SQL SELECT *
FROM sagex3lab.SEED.STOLOT;
inner join(Temp)
Load
ITMREF_0,
ITMDES1_0;
SQL SELECT *
FROM sagex3lab.SEED.ITMMASTER;
that is work but im unable to add date calendar
Load
ACCDAT_0
Date(ACCDAT_0) As Date,
Year(ACCDAT_0) As Year,
Month(ACCDAT_0) As Month,
Day(ACCDAT_0) As Day,
Week(ACCDAT_0) As Week,
'Q' & Ceil(Month(ACCDAT_0)/3) As Quarter,
WeekYear(ACCDAT_0) & Num(Week(ACCDAT_0), '00') As YearWeek,
Year(ACCDAT_0) & '-Q' & Ceil(Month(ACCDAT_0)/3) As YearQuarter,
Date(MonthStart(ACCDAT_0), 'YYYY-MM') As YearMonth,
-Year2Date(ACCDAT_0) As YTD_Flag,
-Year2Date(ACCDAT_0, -1) As LYTD_Flag;
Hi @theboss-123 , check this please , i just aded the resident clause:
Load
ACCDAT_0,
Date(ACCDAT_0) As Date,
Year(ACCDAT_0) As Year,
Month(ACCDAT_0) As Month,
Day(ACCDAT_0) As Day,
Week(ACCDAT_0) As Week,
'Q' & Ceil(Month(ACCDAT_0)/3) As Quarter,
WeekYear(ACCDAT_0) & Num(Week(ACCDAT_0), '00') As YearWeek,
Year(ACCDAT_0) & '-Q' & Ceil(Month(ACCDAT_0)/3) As YearQuarter,
Date(MonthStart(ACCDAT_0), 'YYYY-MM') As YearMonth,
-Year2Date(ACCDAT_0) As YTD_Flag,
-Year2Date(ACCDAT_0, -1) As LYTD_Flag
Resident Temp;
it said the error below
Table not found error
Table 'Temp' not found
Load
IPTDAT_0,