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: 
Not applicable

Load single quotes in inline table

How do i load 'AC' ,'UB' in inline table ??

When i tried i get AC and UB itself not the single quotes . Tried Chr(39)&AC&Chr(39), But even this doesnt seem to work

1 Solution

Accepted Solutions
sujeetsingh
Master III
Master III

Vikram ,

It means you are unable to concatenate the strings'AC' ,'UB',

See this sample.

View solution in original post

3 Replies
sujeetsingh
Master III
Master III

Vikram ,

It means you are unable to concatenate the strings'AC' ,'UB',

See this sample.

Sokkorn
Master
Master

Hi,

This one should work

[Data]:

LOAD * Inline [

Field1,    Field2

1,    "'AC'"

2,    "'UB'"];

Or you can try with Chr()

[Data]:

Load

    Field3,

    Chr(39)&Field4&Chr(39)    As Field4;

LOAD * Inline [

Field3,    Field4

1,    AC

2,    UB];

Regards,

Sokkorn

saumyashah90
Specialist
Specialist

Hey

Try this

Load * Inline [

"'AC'","'UB'"

];

i.e " 'AC' "," 'UB' "