Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

LOAD with SQL SELECT fails

I have several problems when I load a table.

The script is this:

QUALIFY*;

Movim: 

LOAD

    FE_MOV,

    VOUCHER,

    CG_ASIEN,

     .

     .

     . 

    CAE_PRODUCCION,

    CAE_TESTING,

    MONEDA3;

SQL SELECT *

FROM dbo_Movim;

STORE * from dbo_Movim into $(QvdPath)Movim.qvd (qvd);

Problems:

  1. The table is not named as "Movim" (so when I use STORE, use "from dbo_Movim")

  2. Unrecognized statement 'Qualify': it doesn´t work.

  3. Can´t STORE the table into qvd format.

If I remove the STORE statement then load the table but unqualified.

1 Solution

Accepted Solutions
Not applicable
Author

Problem solved, was missing a comma after the definition of QvdPath

Thank you all.

View solution in original post

5 Replies
MayilVahanan

HI

     Try like this,

    

Movim: 

LOAD

    FE_MOV,

    VOUCHER,

    CG_ASIEN,

     .

     .

     . 

    CAE_PRODUCCION,

    CAE_TESTING,

    MONEDA3;

SQL SELECT *

FROM dbo_Movim;

Then reload it , and see the result..

Store Movim into Testing.qvd(qvd);

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
nagaiank
Specialist III
Specialist III

Try the following:

QUALIFY *;

Movim: 
LOAD
    FE_MOV,
    VOUCHER,
    CG_ASIEN,
     .
     .
     . 
    CAE_PRODUCCION,
    CAE_TESTING,
    MONEDA3;
SQL SELECT *
FROM dbo_Movim;
STORE Movim into $(QvdPath)Movim.qvd (qvd);

Not applicable
Author

It still does not work.

When the script is the next, I get the table but unqualified:

**************************************************************************

QUALIFY *;


Movim: 

LOAD

    FE_MOV,

    VOUCHER,

    CG_ASIEN,

     .

     .

     . 

    CAE_PRODUCCION,

    CAE_TESTING,

    MONEDA3;

SQL SELECT *

FROM dbo_Movim;

**************************************************************************

And if I add the STORE clause (STORE Movim into $(QvdPath)Movim.qvd (qvd);), the script doesn not run.

Not applicable
Author

First  all field names in load statement should  be  upper , and then  check if any field is repeating.in second case there is a chance to reload fail.

Not applicable
Author

Problem solved, was missing a comma after the definition of QvdPath

Thank you all.