in for each i am getting values like that
‘1234567899’
‘456123154688’
‘45648456456’
‘4564’
‘1111235’
‘546489894544’
All i need to do is whatever comes from for each i need to concatenate with ‘120.’ + value but after ‘120.’ it has 11 digits. If the length of a value less than 11 digits it should add ‘0’ at the beginning. For example ;
‘120.01234567899’
‘120.456123154688’
‘120.45648456456’
‘120.00000004564’
‘120.00001111235’
‘120.54648989454’
How can i make it with in MSSQL query??
I tried the following code but it didn’t work like i want ;
CONCAT(‘120.’, RIGHT(REPLICATE(‘0’, 11) + ‘{{$node[“ForEach”][“json”][“vat”]}}’, 11))
dynamicvalue = {{$node[“ForEach”][“json”][“vat”]}}
HELP PLEASE !