Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
bouderbc
Creator
Creator

How To fill all the fields of a column with the same field (another value)?

Hi Experts,

How To fill all the fields of a column with the same field ? without using Load if , cause i have many fields to load

Thanx

Example :

Column: Data

Fields: A B C D E

Replace All the fields with : F

Result: F F F F F

Thanx

Regards

Ali

14 Replies
sunny_talwar

May be just this

LOAD ....,

     'F' as Data

FROM ...

Anil_Babu_Samineni

One simple solution occurs

Load *, 'F' as Field From ...

OR

Rename Command??

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
pradosh_thakur
Master II
Master II

LOAD

'F' AS Data

FROM  [table name]

;

Learning never stops.
its_anandrjs

Without load means on the load Script you do not need to do this.

its_anandrjs

In this

Example :

Column: Data

Fields: A B C D E

Replace All the fields with : F

Result: F F F F F

You write Fields: A B C D E to be change with F you need to change the fields data or rename the field name be specific please.

bouderbc
Creator
Creator
Author

    

bouderbc
Creator
Creator
Author

sunny_talwar

LOAD 'G' as DATA

Is this not working for you?

its_anandrjs

Find the attached did you looking for this. Or elaborate more on the requirement.