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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
richard_chilvers
Specialist
Specialist

LOAD all fields except .....

It seems good practise to LOAD only those fields in a table which are useful, although the temptation is to LOAD everything, "just in case".

Of course, this can be achieved by listing each field which is required, but I wondered if there is a way to say LOAD all fields except .....

Perhaps LOAD * - NOT_NEEDED1, NOT_NEEDED2 FROM .... ;

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Or just use Drop Field after a Load *, like:

Load * From <>;

Drop Fields field1, field2;

Otherwise, if all fields are known, commenting out would a better option.

View solution in original post

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Unfortunately no, just comment out the fields unwanted ...

tresesco
MVP
MVP

Or just use Drop Field after a Load *, like:

Load * From <>;

Drop Fields field1, field2;

Otherwise, if all fields are known, commenting out would a better option.

richard_chilvers
Specialist
Specialist
Author

Oh yes, I should've thought of that. Its a pretty good solution.

Thanks