I am trying to create a dump file from within SQL*Plus. The requirement is to create null '' for padding but when I use NULL even the data value is getting nullified see below.
SQL> select RPAD(1234,10,' ') from dual ; RPAD(1234, ---------- 1234 SQL> select RPAD(1234,10,'') from dual; R -
I have seen other scripts where they seem to be using null('') for padding
Please help thanks
NULLandempty stringare not the same. It makes no sense to pad with either of them. Usuallysingle spaceis used for padding. Are you possibly mistaking''for' '?select * from dual where '' is null;