Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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

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