I need to put 9 zeros after 02:
0207200000053P 02- here are the zeros - 07200000053P
that is coming from a variable called @vNossoNumero
. How do I do this?
Variable
Select @vNossoNumero = case when @Conta='0000064-7' then '16' else '02' end+RIGHT('00000000000' + convert(varchar,convert(bigint,@vSequencia) + 1),11)