Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to implememt Incremental load in qlikview?

Hi Team,

I have a product table (oracle database)

product table contains below columns

product id

product name

product type

revenue

Now i want to implement incremetal load on above table how to write script  please help me

Thanks

chagant

12 Replies
Not applicable
Author

Hi,

In that table any date fields are there

Not applicable
Author

Hi Nirmal,

There is no Date column(like modifcation date )

Product id is the Pk column

i need some script

thanks

Not applicable
Author

Can you upload your sample application

Not applicable
Author

Hi nirmal i wrote the below script

A:

SELECT productid,

      productname,

      producttype,

      revenue
FROM Product;
Concatenate LOAD
       productid,

      productname,

       producttype,

      revenue
     
      from
     (qvd)
    
      WHERE NOT exists([productid])    
;
    
STORE A into (qvd);

Not applicable
Author

Ya its correct only then whats the problem

Not applicable
Author

if i load first time 20000 records are loaded

if i load second time again 20000 records loaded

then what is the use of incremental load

if i load second time only new records loaded for according to incremental concept

this is the my issue

thanks

sushil353
Master II
Master II

According to your script.

It will load only those ID's which were not present in the already loaded data.

which is something like insert only statement.

HTH

Sushil

Not applicable
Author

Then Try This use distinct in script like this find below,

A:

Load Distinct

SELECT productid,

      productname,

      producttype,

      revenue
FROM Product;


Concatenate

LOAD Distinct
       productid,

      productname,

       producttype,

      revenue
     
      from
     (qvd)
    
      WHERE NOT exists([productid])    
;
    
STORE A into (qvd);

Not applicable
Author

o