I'm NEW to Oralce. I love it, but... lots of mistakes
I'm using SqlPlus for Oracle 8i
here's what I'm typing
accept col_name prompt 'Enter column name :'
select &col_name
from users
the error is this:
accept col_name prompt 'Enter column name :'
*
ERROR at line 1:
ORA-00900: invalid SQL statement
WHY WHY WHY ??? When I go to the editor I enter the accept command there, righ before select statement. Should I be doing this there or does the accept command only work before issuing select statement. I mean, enter accept command and then run the select statement. Please HELP !!!
softdrink
I'm using SqlPlus for Oracle 8i
here's what I'm typing
accept col_name prompt 'Enter column name :'
select &col_name
from users
the error is this:
accept col_name prompt 'Enter column name :'
*
ERROR at line 1:
ORA-00900: invalid SQL statement
WHY WHY WHY ??? When I go to the editor I enter the accept command there, righ before select statement. Should I be doing this there or does the accept command only work before issuing select statement. I mean, enter accept command and then run the select statement. Please HELP !!!
softdrink