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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
tulsidaskhan
Contributor
Contributor

Drop Data

Hi,

After every reload a date is captured in a variable. can i drop data for this particular date  by using drop statement.

Assumption: Something like  " Drop table Abc where date<= variable"

Thanks,

Piyush Jain

Labels (1)
3 Replies
Kushal_Chawda
MVP
MVP

How you are capturing the Date in variable?

Mark_Little
Luminary
Luminary

Hi,

You would need to do a resident load.

So

Load

     *

Resident YourTable

Where Date > $(variable);

might need to think about the date formats,

Mark

jonathandienst
Partner - Champion III
Partner - Champion III

Like this:

If date <= variable Then

      Drop table Abc;

End If


Make sure that the date and the variables are valid numeric date values.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein