Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to use order by clause while loading data from qvd

Hi

        I m using this trick for order by.

Maintable:

LOAD

filed1,

filed2,

field3

from

FROM

    netadd_from_mindate_to_tilldate.qvd(qvd);

temp:

NoConcatenate

Load * resident Maintable

order by field1, filed2 ;

drop table Maintable;

rename table temp to Maintable;

store Maintableinto 'D:\reruntesting\Data\RawQvds\Maintable.qvd';

But this is giving error like

"Field not found temp:"

Can anyone please tell what mistake i m doing?

Thanks

5 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Please check the spelling in your example code. Field names don't match, and you have two FROM clauses in the first load.

Best,

Peter

sujeetsingh
Master III
Master III

I dont get why are you renaming the temp table is it too much needed

Not applicable
Author

Thanks Peter,

i really ashamed on asking this type of stupid question. I should take care of these things.

It was typing mistake.

Not applicable
Author

Yeah! you are right, actually its not required to rename.

er_mohit
Master II
Master II

check your spell i.e field1 or filed1 for this so, remove this error and might be helpful for you....