Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
LET vMinDate =Num('1/1/1970');
LET vMaxDate =Num('1/1/2050');
TempDates:
LOAD DATE($(vMinDate) + IterNo() - 1) AS TempDate
AutoGenerate (1)
WHILE $(vMinDate) + IterNo() - 1 <= $(vMaxDate);
-- Everything above this line works --
Dates:
NoConcatenate
Load
TempDate as Date,
Resident TempDates;
Drop table TempDates
By everything I can find online, this should produce one table of "Dates". Instead I get the below error message. If I comment out the Resident and drop table lines, I get only the "TempDates" table.
Hi @RobertPatrician ,
The problem is the comma symbol (,) before resident and after the last Drop table function put a semicolon.
Dates:
NoConcatenate
Load
TempDate as Date
Resident TempDates;
Drop table TempDates;
Regards
Hi @RobertPatrician ,
The problem is the comma symbol (,) before resident and after the last Drop table function put a semicolon.
Dates:
NoConcatenate
Load
TempDate as Date
Resident TempDates;
Drop table TempDates;
Regards
Hi
remove comma (,) after the tempDate as date
and put semicolon after drop table statement
Dates:
NoConcatenate
Load
TempDate as Date,
Resident TempDates;
Drop table TempDates ;