Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a table containing names in each row.
Table1:
I want to transform this into:
Hi,
one solution could be:
mapInsChr:
Mapping LOAD Chr(RecNo()), Chr(RecNo())&'_' AutoGenerate 255;
tabNames:
LOAD *,
Left(MapSubString('mapInsChr',NAME),Len(NAME)*2-1) as NAME_with_Char
Inline [
NAME
anup
peter
alexander
];
Hi,
one solution could be:
mapInsChr:
Mapping LOAD Chr(RecNo()), Chr(RecNo())&'_' AutoGenerate 255;
tabNames:
LOAD *,
Left(MapSubString('mapInsChr',NAME),Len(NAME)*2-1) as NAME_with_Char
Inline [
NAME
anup
peter
alexander
];
Hi, its the best solution i came across so far. I implemented something similar using for loop. But this looks efficient. Thanks for responding!