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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Specify the table name

Morning all,

Can I specify the table name in the import script? I'm thinking particularly when I am concatenating from two sources eg:


select * from SourceA
concatenate
select * from SourceB


and I want to see the table as CombinedTable.

Any ideas?

Thanks,

Tony

Labels (1)
1 Solution

Accepted Solutions
prieper
Master II
Master II

The concatenated file will inherit the name of the first file, thus your script may read:

CombinedFile:
select * from SourceA;
concatenate (CombinedFile) select * from SourceB;


It is not necessary in this example to specify, to which file the "B" should be added, but it makes script a bit clearer and prevents error, if you shuffle the code around.

HTH
Peter

View solution in original post

2 Replies
prieper
Master II
Master II

The concatenated file will inherit the name of the first file, thus your script may read:

CombinedFile:
select * from SourceA;
concatenate (CombinedFile) select * from SourceB;


It is not necessary in this example to specify, to which file the "B" should be added, but it makes script a bit clearer and prevents error, if you shuffle the code around.

HTH
Peter

Not applicable
Author

Cracking! Thanks v much Peter,

Tony