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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

field names

hi all,

is there a way to automatically name the fields loaded in a load script with

as TABLENAME.FIELDNAME

?

If i load multiple tables that might have some fields with the same name i want to prevent the creation of keys without having to look at each field and check if this field name already exists...

thanks a lot!

Labels (1)
1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

The QUALIFY statement does that. If you want all field names to be qualified with table names, the use:

QUALIFY *;

For specific fields, use the list of field names in the QUALIFY statements.

Turn off the qualification with UNQUALIFY *.

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

3 Replies
Not applicable
Author

Hi,

You can use

QUALIFY  ;

write this before the load statement.

this will qualify all the fields with thr respective table names.

i hop this will solve ur need.

Not applicable
Author

QUALIFY *;

table name:

load script.....

this will rename all fields like "table name.field name"

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

The QUALIFY statement does that. If you want all field names to be qualified with table names, the use:

QUALIFY *;

For specific fields, use the list of field names in the QUALIFY statements.

Turn off the qualification with UNQUALIFY *.

Hope that helps

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein