Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi can any one please explain me the difference between two scripts :-
first script:-
"NonTest":
LOAD *
FROM
C:\Test\Qvd\NonTest.qvd(qvd);
catenate (NonTest)
SQL select *
FROM "62_DW".dbo."t_test"
where Date>$(vMaxDate);
STORE "NonTest" INTO '$(vDataQvds)NonTest.qvd' (qvd);
DROP TABLE NonTest;
2nd script :-
"NonTest":
SQL select *
FROM "62_DW".dbo."t_test"
where Date>$(vMaxDate);
Temp:
load max (Date) as MaxDate
resident NonTest;
let vMaxDate=peek('MaxDate');
drop table Temp;
Concatenate (NonTest)
LOAD *
FROM
C:\Test\Qvd\NonTest.qvd(qvd);
STORE "NonTest" INTO '$(vDataQvds)NonTest.qvd' (qvd);
DROP TABLE NonTest;
which script will work for incremental load , please tell me.
use one from the link