Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Rename field on a SQL LOAD

Hi all,

Please help me with this simple question     

Im trying to LOAD some data from a server hosted on TERADATA, and i would like to rename the "phone" field as "client phone" on the load.

any suggestions???

EXAMPLE:
SQL
SELECT
       PHONE

FROM PHONES

thank u very much!

1 Solution

Accepted Solutions
stabben23
Partner - Master
Partner - Master

I'll think you have answer Your own question. it simply this

SQL
SELECT
       PHONE as "Client Phone"

FROM PHONES

or if you use preceding LOAD instead

LOAD

PHONE as "Client Phone"

;

SQL
SELECT
       PHONE

FROM PHONES

View solution in original post

4 Replies
surendraj
Specialist
Specialist

load PHONE as client phone

SQL
SELECT
       PHONE

FROM PHONES

surendraj
Specialist
Specialist

load PHONE as "client phone";

SQL
SELECT
       PHONE

FROM PHONES

stabben23
Partner - Master
Partner - Master

I'll think you have answer Your own question. it simply this

SQL
SELECT
       PHONE as "Client Phone"

FROM PHONES

or if you use preceding LOAD instead

LOAD

PHONE as "Client Phone"

;

SQL
SELECT
       PHONE

FROM PHONES

Anonymous
Not applicable
Author

You use as in a preceding load.

LOAD

     PHONE as [CLIENT PHONE]

SQL

SELECT

     PHONE

FROM PHONES;