Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem using the where clause in the load script;

Hi,

Please could someone point me in the right diretion on this.

I'm trying to load this table but only where the Security_Ac field is not blank..... but its erroring and I've tried every Null permiatation I can think of.

Please help!   Thank you.

Example of the load script:

SECURITIES_ACCT:

LOAD    @1:5 as [Security_Ac],

               @6:21 as [Customer_No],

               @22:27 as [Close_Date],

FROM

COSMIC_SECURITIES_ACCT.txt

(fix, codepage is 1252, no eof);

Where not IsNull ([Security_Ac]);

Many thanks, Matt

1 Solution

Accepted Solutions
PrashantSangle

Hi,

Remove ; before Where clause

SECURITIES_ACCT:

LOAD    @1:5 as [Security_Ac],

               @6:21 as [Customer_No],

               @22:27 as [Close_Date],

FROM

COSMIC_SECURITIES_ACCT.txt

(fix, codepage is 1252, no eof)

Where not IsNull ([Security_Ac]);

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

6 Replies
PrashantSangle

Hi,

Remove ; before Where clause

SECURITIES_ACCT:

LOAD    @1:5 as [Security_Ac],

               @6:21 as [Customer_No],

               @22:27 as [Close_Date],

FROM

COSMIC_SECURITIES_ACCT.txt

(fix, codepage is 1252, no eof)

Where not IsNull ([Security_Ac]);

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
PrashantSangle

and , after close_date

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable
Author

Thank you Max..

PrashantSangle

Hi,

you Welcome

Your issue is solve or not???

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable
Author

Hi Max - Yes - resolved - Thanks.

Not sure how to mark it as resolved.. can only see mark as Helpful.

PrashantSangle

Hi,

Good, I just want to confirm that it worked or not??

Its good that you got the answer.

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂