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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
jananireddy
Partner - Creator
Partner - Creator

Syntax for Load all columns in data editor

I am currently using this script in my data load editor:

[portfolio]:

LIB CONNECT TO [portfolio(e45_lenovo)];

LOAD

[category] as CATEGORY,

[module] as MODULE,

[customeraccountid] as CUSTOMERACCOUNTID,

[customername] as CUSTOMERNAME;

SQL SELECT * FROM  portfolio;

Since now my tables will have increasing number of columns/ renamed columns, can i have a way to avoid mentioning the column names in my script? May be something like this:

[portfolio]:

LIB CONNECT TO [portfolio(e45_lenovo)];

LOAD ALL

SQL SELECT * FROM  portfolio;

Thanks,

Janani

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi Janani,

I believe you can, I've successfully loaded all columns using the following;


LOAD *
;
SQL SELECT *
    FROM db.view;

Hope this helps.

View solution in original post

2 Replies
Anonymous
Not applicable

Hi Janani,

I believe you can, I've successfully loaded all columns using the following;


LOAD *
;
SQL SELECT *
    FROM db.view;

Hope this helps.

sunny_talwar
MVP
MVP

I think all you need is to replace ALL with a *

LIB CONNECT TO [portfolio(e45_lenovo)];

[portfolio]:

LOAD *;

SQL SELECT * FROM  portfolio;