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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Copying a table

Hi All,

I want to copy a table in Qlikview, and not have it give me synthetic keys, don't want it to get linked to my other table as I will be doing different things with the main table, and I want my MainTableCopy to just be there separately. I'm having the below script to copy my MainTable, but it gives me synthetic keys.

NOCONCATENATE

MainTableCopy :

LOAD *

Resident MainTable;

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Maybe

Qualify *;

MainTableCopy :

LOAD *

Resident MainTable;

View solution in original post

6 Replies
swuehl
MVP
MVP

Maybe

Qualify *;

MainTableCopy :

LOAD *

Resident MainTable;

Digvijay_Singh

If you just want separate table without any association, you can use Qualify *, at the top of your new load statement, it will create tablename.fieldname to keep them unassociated with similar field names.

muthukumar77
Partner - Creator III
Partner - Creator III

Hi,

You can use Qualify or change column name for that table.

Muthukumar Pandiyan
Not applicable
Author

Great, this works thanks!

One question: Is it possible to change the field names when putting these fields in a table? because this changes the field names to Table_DataCopy.fieldname

swuehl
MVP
MVP

muthukumar77
Partner - Creator III
Partner - Creator III

Yes,

Eg:

Load A,B,C from Main_Table;


you can do like this,

Load [Main_Table A],[Main_Table B],[Main_Table C] from Main_Table;

Muthukumar Pandiyan