I still don't understand what is it that you're trying to accomplish. If the issue is prompting and inserting "#", just add the single quotes around the substitution variable:
SQL> @test
enter new number_sign: #
1 row created.
Elapsed: 00:00:00.00
SQL> select * from test;
C
-
#
Elapsed: 00:00:00.00
SQL> get test
1 set verify off
2 accept number_sign prompt 'enter new number_sign: '
3* insert into test values( '&number_sign' );
SQL>
Main Topics
Browse All Topics





by: schwertnerPosted on 2005-04-18 at 04:18:28ID: 13805000
Use chr(35) instead #.