Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
oussema_laribi
Contributor II
Contributor II

What is the difference between "alias" and "as" in QlikView?

Hello,

Can anyone explain to me

What is the difference between "alias" and "as" in QlikView with example.

Thnanks for advance.

3 Replies
olivierrobin
Specialist III
Specialist III

hello

as is used in INE load statement to rename the fiels in that statement

alias is used to rename a field in all statements following it

Chanty4u
MVP
MVP

pavandbs
Contributor III
Contributor III

Hi,

To explain in detail , alias you can use to rename a field in whole script. Where 'as' can use for each field.

From the following example

1. From test table CountryID will be shown as CountryName after reload.

2. In resident load you can not use CountryID as it already renamed to CountryCode.

3. You can again rename CountryCode to another name using 'as' like Country# I used.

Hope it answers your question.

AliasVsAS.JPG