Skip to Content
0
Former Member
Jan 27, 2017 at 03:19 AM

Leading zero, But 'n' Number of times (No Lpad)

66 Views

Hi,

Lpad( 'ABC',6,'0') will give me the output

'000ABC'

What if '6' is dynamic (n number of times)? How to do it? Lpad can take only constant value.

Please help!!