SQL>
SQL> declare
2 v_custno NUMBER := 100;
3 begin
4 dbms_output.put_line(v_custno) ;
5 declare
6 v_state CHAR(2):= 'NY' ;
7 begin
8 dbms_output.put_line(v_custno || v_state) ;
9 end ;
10 end ;
11 /
100
100NY
PL/SQL procedure successfully completed.
SQL>