Quote:
Originally posted by dbforums_ajayp
No, the call from Unix is not removing the leading zero.
When I print the variable value using PROMPT before the PL*SQL block, the value is printed with the leading zero.
|
Show your code! Clearly DBMS_OUTPUT is not the isee (see my example above). Perhaps you forgot to put single quotes around the value? :-
SQL> exec dbms_output.put_line(&v)
Enter value for v: 010203
10203
PL/SQL procedure successfully completed.
SQL> exec dbms_output.put_line(
'&v
')
Enter value for v: 010203
010203
PL/SQL procedure successfully completed.