Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi can any body provide me executable incremental load for updation and deletion is there in Db
What do you mean by Executable incremental load script, you can find this script in the resource location also.
I need simple script to understand functionality for updation and deletion is there.
Regards
If you want to reload only pre-defined values, try to use where condition in locad script.
Another option is use a column flag like "wasmodified" or "datamodified" to incremental load.
copied from Qlikview online help
(search incremental load)
The most difficult case to handle is when records are actually deleted from the source database between script executions. The following conditions apply:
Script Example:
Let ThisExecTime = Now( );
QV_Table:
SQL SELECT PrimaryKey, X, Y FROM DB_TABLE
WHERE ModificationTime >= #$(LastExecTime)#
AND ModificationTime < #$(ThisExecTime)#;
Concatenate LOAD PrimaryKey, X, Y FROM File.QVD
WHERE NOT EXISTS(PrimaryKey);
Inner Join SQL SELECT PrimaryKey FROM DB_TABLE;
If ScriptErrorCount = 0 then
STORE QV_Table INTO File.QVD;
Let LastExecTime = ThisExecTime;
End If
your answer is good.i need code for that.
Regards