Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to change the table name in script?

Hey guys,

I am a newbie to qlikview. Could anyone tell me how I can change the table name in edit script?

Many thanks

5 Replies
jagannalla
Partner - Specialist III
Partner - Specialist III

Hi,

NewTableName:

Load statement | Select Statement

Table1:

Load * from Prod;

or

Table1:

Load *;

Select * from Prod;

Thanks,

Jagan

Anonymous
Not applicable
Author

Add one of the following above the load statement.

[Table Name]:

Load

...

From

Sales:

Load

...

From

Note that the [ ] are used when there are spaces in the table name.

simenkg
Specialist
Specialist

Your specific question is how to change the table name.

It can simply be done with the line.


Rename table TableName1 to TableName2;

Regards
SKG

Anonymous
Not applicable
Author

...or

Rename table [OriginalTableName] to [NewTableName] ;

MK_QSL
MVP
MVP

Use

Rename Table OldTableName NewTableName;