Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

How to delete a qvd file

Hello,

Someone can tell me how to delete a qvd file?

Maybe something like: drop file '...\file_name.qvd'

Thank you very much.

1 Solution

Accepted Solutions
MVP
MVP

Re: How to delete a qvd file

I think a warning, if you check this but usually it works (desktop and server)

1.png

9 Replies
Not applicable

Re: How to delete a qvd file

I've tryed:   EXECUTE '...\Etape1.qvd' (qvd);

but it didn't work.

MVP
MVP

Re: How to delete a qvd file

DIRECTORY;

t2: load rowno() as id autogenerate 100;

store t2 into t2.qvd (qvd);

EXECUTE cmd.exe /c del /q   t2.qvd;

more detail here

Re: Deleting qvd

ramoncova06
Valued Contributor III

Re: How to delete a qvd file

can I ask what do you want to delete the QVD ?

It would probably be better if you did this outside of QV and use a scheduler/bat file for windows maintenance

Not applicable

Re: How to delete a qvd file

Thank you very much, with this method, it pop up a probleme of security.

But thank you all the same.

lakwinder
Contributor III

Re: How to delete a qvd file

Why don't you delete the QVD file where it stores to and then comment out your store into script and then reload again.

Not applicable

Re: How to delete a qvd file

You are right, but I just don't want to delete it myself .

MVP
MVP

Re: How to delete a qvd file

I think a warning, if you check this but usually it works (desktop and server)

1.png

Siva_Sankar
Honored Contributor

Re: How to delete a qvd file

You need to allow Script (Allow Database Write and Execute Statements) in User Preferences/Security tab.

Siva_Sankar
Honored Contributor

Re: How to delete a qvd file

PFA

Community Browser