Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ecabanas
Creator II
Creator II

How to convert customers id in load script

Hi,

I have a table with:

ID

1

20

333

400

In the script process i'd like to convert in this format C######

C000001

C000020

C000333

C000400

thank's guys

Eduard

1 Solution

Accepted Solutions
saumyashah90
Specialist
Specialist

You can concat that
While Loading

Load 'C' & right('000000'&ID,6)

View solution in original post

5 Replies
bbi_mba_76
Partner - Specialist
Partner - Specialist

Hi,

you could concat 'C'&right('000000'&ID,6)

saumyashah90
Specialist
Specialist

You can concat that
While Loading

Load 'C' & right('000000'&ID,6)

Gysbert_Wassenaar

For example like this:

load num(ID, 'C000000') as ID Inline [

ID

1

20

333

400];


talk is cheap, supply exceeds demand
Not applicable

Hi

PFA...   Hope it will help you

ecabanas
Creator II
Creator II
Author

Thank's Saumya 😉