I made a summary report in SQL * Plus, counting the number of records with the status "ERROR" and encountering hexadecimal values ββin the results. It can be played on 11g using the following:
SQL> select 1 error from dual; ERROR ---------- ##########
Then I tested several options:
SQL> select 1 errors from dual; ERRORS ---------- 1 SQL> select 'a' error from dual; ERROR ----------------------------------------------------------------- a SQL> select 'a' errors from dual; E - a
It seems that a column called "error" does strange things for your result in SQL * Plus, since this problem does not occur in the SQL developer. Does anyone have an explanation? There seems to be no workaround other than renaming.
sql oracle sqlplus
Tok Hock Guan
source share