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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
bumin
Partner - Creator II
Partner - Creator II

how to read a table record by record

Hi experts,

I have the following problem for which I couldn#t find any solution.

from

Objects:

LOAD * INLINE [

    F1

    100

    200

    300

];

I would like to generate the following string:

(100|200|300)

the inline table is just an example. The data is stored in DB table

tahnks for you help

Bumin

1 Solution

Accepted Solutions
Not applicable

Hi try concat function..

Syntax is  = concat(distinct(fieldname),'|')

or concat(fieldname,'|')

xyz:

LOAD * INLINE [

    F1

    100

    200

    300

];

load concat(F1,'|') as ABC

resident xyz ;

drop table xyz;

exit script;

View solution in original post

5 Replies
jolivares
Specialist
Specialist

Try using the concat function.

Not applicable

Hi try concat function..

Syntax is  = concat(distinct(fieldname),'|')

or concat(fieldname,'|')

xyz:

LOAD * INLINE [

    F1

    100

    200

    300

];

load concat(F1,'|') as ABC

resident xyz ;

drop table xyz;

exit script;

Not applicable

Hi,

Yu can try using concat function.

concat(F1,'|')


Regards,

Amay

bumin
Partner - Creator II
Partner - Creator II
Author

thanks for the answers,

it took 10 hours to get the the question into the forum.

In the meanwhile I found it myself

concat(fieldname,'|') is the right answer

kind regards

Bumin

jolivares
Specialist
Specialist

Saludos Miguel Angel, hace un par de días hice un post con una requerimiento, crees que puedes revisarlo a ver si tienes alguna solución.

http://community.qlik.com/message/326737#326737