I have the same result like you, but you can use this:
SELECT LPAD (cast(round((rand() *100),0) as nvarchar(10) ), 5, '0') "lpad" FROM DUMMY;
I have the same result like you, but you can use this:
SELECT LPAD (cast(round((rand() *100),0) as nvarchar(10) ), 5, '0') "lpad" FROM DUMMY;